linuxmint / linuxmint/cinnamon

Shutdown halts when closing laptop lid too fast because of sleep mode

Open
#12,455 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 22

Package version

6.2.9

Graphics hardware in use

Intel HD Graphics 520 (integrated)

Frequency

Always

Bug description

After initiating a shutdown and closing the lid of the laptop immediately after, the System doesn't proceed and is instead put into Sleep Mode. After opening the Lid and entering the user password, the system immediately resumes.

Steps to reproduce

See description

Expected behavior

The system should not be allowed to enter sleep mode when closing the lid after a shutdown is initiated. It should instead proceed with the shutdown without entering sleep mode.

Additional information

Hardware:
Lenovo Thinkpad T460

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shutdown-then-immediate-lid-close sequence on Linux Mint 22 with Cinnamon 6.2.9 and the reported Lenovo ThinkPad T460 hardware. Trace how shutdown initiation interacts with lid-close sleep handling; done means the system proceeds with shutdown rather than entering sleep mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.