Ubuntu sleep problems: closing lid does nothing

Anyone have issues with their Framework refusing to suspend when the lid is closed? I just installed Ubuntu 20.04 and I’m using the GitHub - lightrush/framework-laptop-formula: Salt formula for setting up Ubuntu on the Framework Laptop salt stack to get things working.

Closing the lid doesn’t do anything, the screen just stays on. Wondering if anyone ran into similar issues and has any thoughts on what to debug, thanks!

1 Like

Turns out disabling secure boot fixed my sleep problems, hope this helps someone else


You probably defaulted to hibernate on lid close instead of suspend, and hibernate is only enabled if secure boot is disabled.


This seems to be an issue for me as well on Kubuntu 21.10 (on an SSD that was transferred from another machine). Secure boot is on and i have confirmed that the settings say suspend when lid is closed regardless of external monitors being connected. When monitors are plugged in, the laptop behaves as if it was set to use those as the display (the “primary” monitor containing the taskbar and such moves to another display).

I will give disabling secure boot a try here, but i’m also curious if this is solveable via other methods as well. i.e. could this be a bug or is it required to work this way (i.e. no suspend with secureboot) bacause of how secureboot or suspend work?

Edit: Can confirm disabling enforcement of secureboot (the language used for the setting in the Framework boot menu) has made it so my framework will suspend properly when the lid is closed

1 Like

What is the difference between hibernate and suspend? And why is hibernate only enabled if secure boot is disabled?

Suspend stops operation of all applications and puts the machine into a low-power mode. Various triggers can resume the machine, among them pressing a key or quickly pressing and releasing the power button.

Hibernate moves the contents of memory into swap, tells the bootloader to boot directly into the appropriate kernel, and shuts the machine down. You thaw the machine by powering up, which causes the kernel to reload the contents of memory from swap.

I suspect some folks here are confusing the two as Hibernate benefits from no secure boot.