Laptop goes to sleep > 10 min after closing lid.

Cyberpope

New Member
Mar 17, 2023
2
3
3
I have proxmox running on a thinkpad E550. Al goes well.
The instructions on editting the configd file so it doesn't go to sleep after closing the lid work fine, when closing the lid.

But with a closed lid the laptop does go to sleep. No direct but after a while. The time seems to very.
Where do I start looking?
 
I don't know what caused it, but did find a solution:

A modern alternative approach for disabling suspend and hibernation is to create /etc/systemd/sleep.conf.d/nosuspend.conf

[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

No more sleep.