The gist:
The always-on nature of phones and tablets is incredibly convenient. Wouldn’t it be great if your (non-ARM) laptop or desktop could do this too? Save power when you’re not using it, but still be ready at a moment’s notice?
Microsoft certainly thought so, which is why when Windows 8 was released, it introduced a new feature called Connected Standby. If the hardware indicated support (foreshadowing), instead of telling the BIOS to enter system standby, Windows would enter Connected Standby.
I first ran into the wonders of Modern Standby on my Dell Inspiron 5482, an 8th generation Intel 2-in-1 laptop with a spinning hard drive. After a few months of owning it, I started noticing that it wasn’t sleeping properly. If I closed it, I could still sometimes hear the fans running even 15 minutes later. If I put it in my backpack, there was a good chance I’d take it out at 0% battery or to the fans running at full blast and the CPU dangerously close to overheating. Half the time the hard drive wouldn’t even spin down, which sure is nice when you’re planning to be jostling it around in a bag for a couple hours.
The worst part of this all was that Dell gave you no official way to disable Modern Standby. Windows itself isn’t any help, either. If the BIOS says it supports Modern Standby, Windows takes it at its word and completely disables the ability to enter S3 sleep (classic standby). There’s no official or documented option for disabling Modern Standby through Windows, which is incredibly annoying.
Another issue with Modern Standby is what can trigger wakeup events, and for how long. Supposedly, only certain built-in Windows functions, like updates and telemetry can actually wake the device up, but so can apps installed through the Microsoft Store.
Microsoft probably deserves most of the blame for this mess. It created the feature and has been (allegedly) pressuring vendors to implement it and discontinue support for S3 sleep.
Was running into the same previously. Putting my desktop to sleep only to find it waking up in the middle of the night, and for some reason not going back to sleep afterwards. I believe the solution for me previously was disabling wake timers. Hasn’t been an issue since. However this is a much larger issue on things like laptops where preventing sleep while in a backpack could lead to excessive heat generation. Infuriating that it’s forced by default
I disabled wake timers, wake on lan, and peripherals waking from sleep. It worked for a bit until an update completely destroyed my computers ability to sleep at all. The screens would shut off but nothing else. Still running, still logged in.
Enabled hibernation because fuck you windows.
My pc randomly wakes up from hibernation.
I hate finding it on in the morning.
The lazy workaround is to hibernate, then wake it, then shut it on the boot screen. That way it stays off, but I still get to restore my session.
I’ve tried more reasonable solutions but had no luck, and am tired.
Half the time the hard drive wouldn’t even spin down, which sure is nice when you’re planning to be jostling it around in a bag for a couple hours.
I’m pretty sure this is what trashed my first laptop. Thankfully I didn’t have a lot of information on there yet and was able to replace the hard drive. But absolutely ridiculous that this passed quality control.
I just shut everything down.
I can’t think of a scenario where I need a PC/laptop in less than 10-20 seconds.
Phone? Sure, if I want to take a quick photo or something, but a PC? Where’s the hurry?
Mostly for not loosing unsavable work across transit. Though, Windows has kinda blurred the line between shutdown and standby, so now you can do neither (I guess you can still shutdown properly holding down the shift key while pressing the button, but who thinks about that?).
But standby was indeed much more prevelant when booting your laptop took 2~5min.
Are you referring to windows fast startup? or did windows add another layer to my pc not just shutting down
I don’t want to shut my PC down just to walk a few blocks down the road to get lunch.
S3 standby my machine takes 10 seconds to wake up, S0 standby my machine takes 5 seconds to wake up, but to fully boot up from off and reload everything to where I was will take minutes and destroy my poor battery. i9 and nvme ssds are not power friendly.
The always-on nature of phones and tablets is incredibly convenient. Wouldn’t it be great if your (non-ARM) laptop or desktop could do this too?
No, it would not.
My laptop is not a phone. I do not want it to notify me about things when it’s inactive. All I want from suspend to RAM is for it to quickly[0] return to its previous state[1].
[0] Compared to suspend to disk, even with an SSD
[1] This isn’t an excuse not to save work before suspending
Well, I can see useful use-cases. I mean, laptops are often used disconnected right? So if a laptop sitting in a bag can wake up, sync all your emails and do all your patches while it’s in your house and internet-connected, that means it’s ready to go when you’re using it at the doctor’s office where he’s got no wifi and you don’t want to turn on pairing on your phone because every time you do that it somehow blows through all your data.
Obviously the trade-off failed miserably. I’d much rather have a full-battery laptop then a laptop that tried to sync everything 2 days ago then ran down the batteries. But it should’ve been able to work in theory.
All of which would be fine for people who want this, but the issue is there is no option on many computers. For users who don’t want this functionality, who don’t enjoy their computer doing shit in the background when not using it, there is no option to disable it fully. It’s either shit it down or accept this crap as a consequence of sleeping it.
Also, when laptops are in bags, ventilation isn’t very good. I’d rather it not be trying to do anything in there, at all, whatsoever, except staying asleep.
But more to the point
So if a laptop sitting in a bag can wake up, sync all your emails and do all your patches while it’s in your house and internet-connected
Another way to frame this is “what if Microsoft could do shit at literally any time and the only way to stop them is to shut down fully or get out of range of any any known wifi network”.
Almost no modern sleep modes are able to work with Linux properly either, and BIOS support for S3 sleep mode is slowly being removed by certain larger manufacturers. Very crappy.
Linux supports s2idle/s0ix just fine, though I guess it will depend on hardware like suspend always has done. I have a laptop which only supports s2idle and it almost always works fine. (There are issues in Windows too though).
However, it is still very crappy, because there was never anything wrong with S3. It comes up in a second, and the battery discharge rate is low enough to leave it suspended for days without worrying. The latter feature is actually important - coming in 0.1 seconds as opposed to 1 is not important.
Seconded. I s2idle my ThinkPad Z13 (running Fedora Bazzite) multiple times a day, every day, and have zero issues. It sleeps well with very little drain (I actually leave it in this state overnight), resume is instant, and it works perfectly.
Get a system that’s been designed with Linux in mind (and a sensible distro), and there should be no issues with sleep, @just_another_person@lemmy.world
I just shutdown now and I’m running Linux Mint on older Lenovos with S3. I tried to add old S3 sleep manually in Mint but it never quite worked right and at times the laptop actually froze instead of sleeping with the CPU on and the fans running.
I just go to shutdown instead. It’s annoying as the idea of instant resume when opening the laptop would be great but I also don’t wanted a cooked CPU with a dead battery.
Try to put my PC to sleep? 1 of 3 things happens: it either goes to sleep normally, it goes to sleep but wakes itself up 2 seconds later, or the PC actually just shuts down. Try to shut down my PC? 1 of 2 things happens: it either shuts down, or it restarts.
I think the problem is Windows.
The only way for me to keep my desktop off all night is for me to switch off the power supply or unplug it, sleep, hibernate, flat out turning it off, all result in a bright ass screen waking me up at 2am
It’s because one of your peripherals is set to wake state.
I turned my mouse and keyboard off from this.
Now I manually have to touch my power button to wake.