← Back to context

Comment by zekica

18 hours ago

Mainly because Microsoft wants to have "connected standby": the CPU is running in a low power mode (not powered off like "old" S3 sleep), can be turned on periodically and can turn on other devices even when the computer is "sleeping".

My Zen2 based Lenovo laptop has 6-7 hours of battery when doing basic tasks in both Windows and Linux, but sleep on Linux lasts a week while on Windows it's empty in 24 hours.

> Mainly because Microsoft wants to have "connected standby"...

And that is OK, as long as they provide a way for you to disable it. I do not want my laptop to be doing things when I put it in sleep mode. Nothing at all. Save battery life above all else when sleeping. But Microsoft does not appear to provide a way to do that. At least none that I can see.

Macs have that too, just implemented well. In addition, CPUs with connected standby don’t have the normal sleep so even on linux they run in connected standby. Maybe its less buggy in your case? Consider yourself lucky, lots of people encounter problems with sleep on linux

  • > lots of people encounter problems with sleep on linux

    Yeah, because they buy a Windows laptop, slap Linux on it, and expect it to work.

    OSX sucks even more by this metric; it won't even install!

    • I was looking into hibernation on my Framework 13 with Ubuntu. Debian doesn't support it with SecureBoot enabled. Now you might say "just disable SecureBoot", but that is a whole new concept to understand.

      I've found suspend performance has improved since upgrading to a kernel that supports the AMD 7640U NPU cores. I have no concrete evidence of that though.

      I'm happy to accept poorer sleep performance to have a repairable laptop and Linux OSS (with good support), but I wouldn't say its problem free.

    • Well if you buy a Linux laptop and slap Windows on it, sleep will most likely work. Unfortunately Microsoft got preferential treatment.

And the funny thing is that with Windows 10 they completely abandoned all the software that could take advantage of connected standby