Red Hat Bugzilla – Bug 1031077
Machine is not suspended if the lid is closed
Last modified: 2013-11-18 06:48:59 EST
Description of problem:
Machine is not suspended if the lid is closed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Close lid
From the docs, the suspend should be the default action. I also tried to edit the /etc/systemd/logind.conf and uncommented the HandleLidSwitch=suspend, but it didn't help. The lid switch seems to be detected, because desktop locked the screen. I tried xfce4 and gnome shell on two different machines and it seems to be the same.
(In reply to Jaroslav Škarvada from comment #0)
> Actual results:
> Expected results:
> No suspend
Of course vice versa:
Works for me both with Gnome Shell and with a non-graphical system (booted into multi-user.target). Could you test the latter too?
Please also paste the output of the command "systemd-inhibit".
It works fore me with Fedora-Live-Desktop-i686-20-TC1.iso on Thinkpad T60.
See Bug 1029215
I updated to latest updates-testing and I can confirm it works on both of my machines in console.
In desktop, it needs to be explicitly enabled in power manager. Its settings take precedence, which I think is correct.