Summary: | Setting do nothing on lid close prevents laptop from shutting down | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | David <david.cortes.rivera> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bugseforuns, kde, nate, tmn505, xerusx |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David
2018-07-12 13:53:32 UTC
Tried some times on my laptop running neon dev unstable. Shutdown failed in most attempts, my system did logout instead when lid was closed. When lid was open, login screen (sddm) appeared, I entered my password and a new plasma session was started (splash screen shown up). "it doesn't shutdown, but rather, it turns to the login screen, and once the user opens the lid and puts the user password, it immediately shuts down" I am experiencing this reliably everytime, but this only started recently for me. I use KDE Neon with latest Plasma (5.16.3). It is super annoying. I also experience this sometimes. This is an issue between powerdevil and logind. When user triggers shutdown and powerdevil is exited, its power settings/overrides no longer apply. Then logind takes over the lid switch management. If the lid is closed early enough in the shutdown process then it invokes a sleep instead, which is default behaviour for logind. The workaround to this would be changing: #HandleLidSwitch=suspend to HandleLidSwitch=ignore in /etc/systemd/logind.conf. Thank you very much Nowak! This is the automated way of doing it, for anyone interested ;) sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/' /etc/systemd/logind.conf Of course, it would be ideal if powerdevil could synchronize it's setting to logind so the user doesn't have to bother. I see that nowadays there are some settings which prompt for a root password. Would a fix be possible to implement in the settings app by now? |