by bityard · 4y ago · 0 comments
Well, I've been perfectly happy with the "ancient" power management of my computers. It took a decade or two until suspend/resume actually _worked_ most of the time, and now all of that has been swapped out wholesale by a set of states that are at least an order of magnitude more complicated.
Apparently on newer chipsets, there is no such thing as "suspend to RAM" anymore. Instead, they rely on the OS to micro-manage the sleep states of all the various component that make up the system. I can see this being effective in smartphones where one vendor (Apple, Google) owns the whole stack of hardware, firmware, and software plus a large chunk of every third-party application by tightly controlling what code can run. They can actually run functional tests on the whole stack under varying conditions and have access to every part to debug issues.
Heck, it probably works great on Apple computers for the same reasons. But on general-purpose computers made up of components from dozens of manufacturers running dog-knows-what software and drivers, I don't think it can ever work well. There is already lots of evidence that these "modern" intermediate sleep states are causing real problems not only for Linux users (poor battery life while running, high battery drain while suspended) but also Windows users whose laptops bake themselves to death inside a backpack because a toolbar widget or something woke the system up at 3 a.m. and it then decided to run Windows Update.
When I suspend my laptop, I want to know, with _certainty_, that it will stay suspended until I physically open it. From everything I've been reading, newer laptops offer no such guarantee. The only way to know that your computer won't wake up on its own is by powering it completely down, like we did in the 1990s. Not looking forward to that.
I am all for more power-efficient computers but introducing these new sleep states while throwing out the old ones completely really feels like some backwards pageantry.
This. I want suspend/deep sleep. I don't mind slow wake; and I definitely don't want bluetooth, wifi, etc running while it's supposed to be idle. 90% of the issues with Windows on Laptops waking and causing them to overheat in backpacks is because of this bullshit half-sleep/smart-sleep they've started adding and forcing users to live with.
At least let me, as an informed person, choose to allow my laptop to suspend still.
Also, you don't need to keep the machine actually awake to wake up fast; I have laptops that are... more than a decade old now, that wake so fast from S3 that they're active by the time you get the lid open.
It doesn’t significantly affect battery life; any time in your own life you’ve spent thinking about this would be better spent playing with your dog, or getting a dog so you can play with it.
That’s more well known for performance (where faster Ethernet interfaces do increasingly more offloading) but it works for power savings too.
That is the state I want, not their glorified hybrid S1. If you want it, go for it; no one is saying remove it, just re-enable S3/S4.
I’m a Windows user, and I can confirm. My HP ProBook 445 G8 laptop doesn’t support any of the proper S1-S3 sleep states.
Luckily, I discovered that before any hardware has failed due to overheating, by reading the output of `powercfg /availablesleepstates` console command. To workaround, I have set up the OS to hibernate when the lid is closed, instead of going to sleep.
Nope, the very first (and last) time that I suspended my Macbook and stuffed it in a backpack, it was hot to the touch when I went to go take it out. I looked online and everyone was just advising each other to power down every time they wanted to take their laptop anywhere. So no, Apple can't get it right either. FFS, will OS vendors please just let me hibernate to disk like the old days?
on the other hand i got macos black screens of death for a year as the last stage of every reboot... apple is by far not flawless. but i cant imagine using windows as a daily driver. the shit to put up with is just endless. and it makes my eyes bleed
It is useful in laptops as a last ditch effort to avoid losing data when the battery dies, but that’s one reason phones don’t implement it even though their batteries die much more often.
It's funny, the answer is both yes and no. I have a funky Skylake CPU in my current travel laptop, and one of it's cool party tricks is that Linux can drop the CPU into suspend state just by limiting the CPU to it's lowest frequency. I've seen it drop all the way down to 400mhz when leaving it alone, which gives me a chuckle.
Totally useless for the "power nap" functionality you're thinking of, but ironically useful for certain other use-cases.
I can't stand other platforms comparatively. On Linux, I can start my laptop and be productive in the time other platforms take _to wake up from suspend_. No thanks
Modern laptops don’t seem to have this capability unfortunately. Both my Mac and Linux machine (even with windows) doesn’t seem to last as long these days.
...If you don't really use the terminal at all, and don't mind a really slow "resume".
That’s valid. I don’t notice it, since I’m always ssh’d into a server.
> and don't mind a really slow "resume".
I remember wake from hibernate being pretty slow too. I can’t quantify it, but macOS boot feels like a similar delay to me.
Newer chipsets? Or AMD chipsets particularly?