Remix.run Logo
izacus 13 hours ago

The thing is - a lot if power saving is achieved by hybrid sleep (computer hibernating after a timeout).

Setting that up is pure hell on Linux, with poor documentation and security people actively fighting against making this easy.

On Windows/macOS it just works, on Linux you'll probably break secure boot with it.

ndiddy 5 hours ago | parent | next [-]

> On Windows/macOS it just works, on Linux you'll probably break secure boot with it.

The way it works on my Windows laptop is it’ll stay in sleep overnight, then when I open the laptop in the morning it’ll wake up, then hibernate itself, then I have to wait for the computer to turn itself back on. Thankfully this feature can be turned off.

zdragnar 4 hours ago | parent [-]

The way it works on mine is that I open it in the morning to find it powered off because it chose to force quit my running applications to apply updates.

heavyset_go 4 hours ago | parent | prev | next [-]

You edit one line in a file to enable hybrid sleep. Uncomment one line in /etc/systemd/sleep.conf:

AllowHybridSleep=true

Your Linux installer will also set everything up needed for it.

It's also a GUI option in KDE's System Settings.

terribleperson 7 hours ago | parent | prev | next [-]

Maybe it just works on MacOS, but it's prone to all kinds of breakage on Windows.

saratogacx 6 hours ago | parent [-]

That's because MSFT doesn't really do hibernate any more but does "modern sleep" where it functions like a phone with the screen off. It keeps active network connections, downloads patches and keeps checking for notifications and other such nonsense.

BIOS support for proper hibernation has been getting worse too because with MSFT demanding it, there is little reason to continue support.

I've had older laptops that do the sleep->hibernate setup without too much issue but now it is a crap-shoot on if it is even supported in the hardware.

izacus 5 hours ago | parent | next [-]

No, Hybrid Sleep is when the Windows machine goes from Modern Standy to full shutdown and power off.

All laptops support that though it's not always enabled as a feature by default.

Grazester 5 hours ago | parent | prev | next [-]

Interesting. I have yet to come across a computer that I couldn't hibernate in Window.

heavyset_go 4 hours ago | parent | prev [-]

You used to be able to edit ACPI tables to reenable S3 sleep but these days they're stripping the functionality from firmware entirely.

For example, HP's enterprise lines have S3 stubs in their firmware. If you enable them, nothing happens, because someone deliberately removed the S3 blobs entirely.

astrange 4 hours ago | parent | prev [-]

macOS mostly doesn't hibernate. Apple Silicon is just good enough to not need it.

It will do it eventually, though if you don't have enough free disk space it'll fail.