Every now and then my system is not properly suspending. Shutting the lid, choosing to suspend from the graphic interface or running a command is shutting down the screen, but the system will come back up again after a few seconds. Running troubleshooting shows that some devices are blocking the system from suspending. What can be done to allow my system to suspend?
It might be that a specific device is blocking your system from suspending, so it comes up again after a few seconds. To avoid this behavior, try disabling some devices that can cause a wake-up so that your system can properly suspend.
Here is what worked in my case:
echo mem | sudo tee /sys/power/state
as root)journalctl -b
as root./proc/acpi/wakeup
(e.g. withcat /proc/acpi/wakeup
). You should get a list of devices, some of them aredisabled
signalling that they cannot wake up your machine, others areenabled
. My file looks like this:enable
, considerdisabling
them. To do so, edit the text file as a root and replace for this specific devicedisabled
withenabled
. (I did so forHDAS
).Bonus: To get an idea of the device which was blocking the suspend, run
lspci
as root.In my case, I get:
The problematic device being
00:1f.6
, I am concluding that the ethernet controller blocked the system from suspending.Note : There are of course other problems making it impossible to suspend a system. This is only a contribution designed to be complementary to the already existing explanations.