after update to sys-apps/systemd-226 my laptop won't suspend on lid closing Reproducible: Always Steps to Reproduce: 1. emerge -1 =sys-apps/systemd-226 2. reboot 3. journalctl -f > suspend-on-lid-close-226.log 4. Close the lid 5. Open the lid 6. in suspend-on-lid-close-226.log Sep 13 00:20:07 cnonim.cnonim.name systemd-logind[293]: Lid closed. Sep 13 00:20:46 cnonim.cnonim.name systemd-logind[293]: Lid opened. 7. emerge -1 =sys-apps/systemd-225 8. reboot 9. journalctl -f > suspend-on-lid-close-225.log 10. Close the lid Suspend 11. Open the lid 12 in suspend-on-lid-close-225.log Sep 13 00:27:32 cnonim.cnonim.name systemd-logind[298]: Lid closed. Sep 13 00:27:32 cnonim.cnonim.name systemd-logind[298]: Suspending...
Created attachment 411740 [details] emerge --info
Manual suspend by systemclt suspend work correctly on systemd-226
Suspend works fine when I close my laptop lid; this seems to be something system-specific.
HandleLidSwitchDocked=suspend in /etc/systemd/logind.conf fix my problem, but i'm don't understand why in systemd-225 all worked without that
(In reply to Oleg Ageev from comment #4) Perhaps systemd-226 thinks your laptop is docked, whereas systemd-225 does not.
Same problem has appeared for me since emerging systemd-218-r5. In my case HandleLidSwitchDocked=suspend in logind.conf makes no difference.
(In reply to Graham Seaman from comment #6) > Same problem has appeared for me since emerging systemd-218-r5. In my case > > HandleLidSwitchDocked=suspend > > in logind.conf makes no difference. Now upgraded systemd to 2.26-r2. Suspend on lid close still hasn't come back, even with HandleLidSwitchDocked.
Could you try with 233? Thanks