Laptop goes to sleep > 10 min after closing lid.

Cyberpope

New Member
Mar 17, 2023
2
1
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.
 
  • Like
Reactions: leesteken

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!