From testing on my Ubuntu 20.04 Thinkpad P51 laptop (Quadro M1200 running proprietary driver 510.39.01), systemctl suspend
will only suspend for a few seconds then wake again, while sudo pm-suspend
appears to work correctly.
From /etc/systemd/logind.conf
, all commands are commented but I assume the "HandleLidSwitch=suspend" command would be the one from systemctl. Can I configure it to use pm-suspend
?