446
submitted 11 months ago by corbin@infosec.pub to c/technology@lemmy.world
top 50 comments
sorted by: hot top controversial new old
[-] bleistift2@feddit.de 149 points 11 months ago

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

[-] LUHG_HANI@lemmy.world 30 points 11 months ago

And don't sleep or close the lid with power connected. It won't realise it's on battery once it's asleep. Hence battery drain.

[-] SkyezOpen@lemmy.world 21 points 11 months ago

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.

[-] filcuk@lemmy.zip 13 points 11 months ago

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.

[-] Scribbd@feddit.nl 8 points 11 months ago

Mine also did that, but with the added 'benefit' of forgetting how to turn on my graphics card when it did had to wake up at some point without my input.

Fun times...

[-] Zoboomafoo@lemmy.world 7 points 11 months ago

Here I was blaming the cat for using my computer at night

load more comments (2 replies)
[-] Turun@feddit.de 10 points 11 months ago

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.

load more comments (1 replies)
load more comments (1 replies)
[-] tsuica@lemmy.world 68 points 11 months ago

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?

[-] ekky43@lemmy.dbzer0.com 34 points 11 months ago

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.

[-] Dumbkid@lemmy.dbzer0.com 15 points 11 months ago

Are you referring to windows fast startup? or did windows add another layer to my pc not just shutting down

[-] ekky43@lemmy.dbzer0.com 7 points 11 months ago

Yup, that's the one.

Had quite some problems with programs not cleaning caches properly and drives having weird behavior when accessed in offline state when they first introduced it, though I imagine it surely must have become more robust by now.

load more comments (1 replies)
[-] fuckwit_mcbumcrumble@lemmy.world 19 points 11 months ago

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.

load more comments (2 replies)
[-] Zak@lemmy.world 65 points 11 months ago

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

load more comments (2 replies)
[-] just_another_person@lemmy.world 44 points 11 months ago

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.

[-] FishFace@lemmy.world 20 points 11 months ago

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.

load more comments (2 replies)
[-] WashedOver@lemmy.ca 7 points 11 months ago

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.

[-] dangblingus@lemmy.world 38 points 11 months ago

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.

load more comments (4 replies)
[-] Harpsist@lemmy.world 36 points 11 months ago

I dunno why I individually responded to people when I should've just done this.

It's because one of your peripherals is set to wake state. You can google how to figure that out.

I turned my mouse and keyboard off from this. The mouse will wake it even if you move it. So f that. Keyboard. Some. Keyboards will wake just by having an active transmission (so manually turn it off every time - no thanks)

Now I manually have to touch my power button to wake.

[-] bamboo@lemm.ee 19 points 11 months ago

This is an issue, but it’s not the issue. The issue is windows modern standby, trying to make users PCs always on like smartphones. Except the processors don’t support the same low power states as smartphones processors, and can be triggered by software like windows update to turn on even when disconnected from power and without functioning ventilation.

[-] ChickenLadyLovesLife@lemmy.world 16 points 11 months ago

My macbook wakes up whenever I get up in the middle of the night to pee. This is without me touching the mouse or the keyboard or even the desk they're sitting on. This bothers me.

[-] JonEFive@midwest.social 9 points 11 months ago

MacBook: "Oh, hey chickenlady... I see your up. Yeah, I couldn't sleep either. Why don't you come over here and spend some time in my soft white glow. We can just surf the web and consume for hours."

load more comments (1 replies)
[-] seaQueue@lemmy.world 13 points 11 months ago

It's because one of your peripherals is set to wake state. You can google how to figure that out.

Sometimes that's a firmware issue. ASUS screwed up the ACPI DSDT for my 2021 G15 by leaving the sleep capabilities off of one of the NVMe slots - every time you'd tell the machine to sleep it would try, but because one of the NVMe slots wasn't capable the machine would then immediately rewake. I had to decompile the damned thing, patch it and load my patched table as an in memory override every single boot.

load more comments (2 replies)
[-] wander1236@sh.itjust.works 12 points 11 months ago

This is true for S3 sleep, but that's not the issue here. S0 sleep or Modern Standby just doesn't put the computer to sleep. Windows manages device power states instead of the BIOS, and it usually doesn't work out so well.

Overheating and battery drain caused by Modern Standby happen on laptops that are closed with nothing plugged in.

[-] AnAngryAlpaca@feddit.de 10 points 11 months ago

The "allow device to wake up computer" is already set to "off" in mouse, keyboard and other USB devices, together with any bios settings related to wake up. Yet still, at least once a week my computer is on in the morning, after i set it to Hibernate the night before. Sometimes it even power cycles straight away after i tried to turn it of. Same today, when i was was out of the house for a few hours, and it decided to magically turn itself on, run windows update and restart. I have to power it down and turn of the the power on the power-strip each night. My work laptop has the same issue, except it does not care about the power strip switch and discharges the battery overnight instead!

[-] aesthelete@lemmy.world 25 points 11 months ago* (last edited 11 months ago)

Yeah just what I want from my PC: for it to be more like the always-on, nagging attention whore that is my phone. /s

[-] June@lemm.ee 9 points 11 months ago

This is why I always shut down and never sleep it. With my nvme drive boot up is seconds.

[-] Sanctus@lemmy.world 24 points 11 months ago

I dont even bother anymore. I just shutdown. Need me on my computer in 1 minute? Sorry.

[-] SaakoPaahtaa@lemmy.world 19 points 11 months ago

With m.2s around it takes less than a minute to go from the start button to the desktop. Haven't put my pc to sleep since upgrading to that

[-] Railcar8095@lemm.ee 18 points 11 months ago

My company's IT department: "hold my beer. Keep holding it. Now decrypting. Now opening spyware one to 20. Open random cmds that do nothing. Quick virus scan. An update? Better reboot in the next 5 min. The beer? It's warm now"

[-] Wrench@lemmy.world 8 points 11 months ago

Ahh, yes. The unplanned lunch break when you need a hard reboot because your environment is fucky.

And that reboot after update is guaranteed, because you haven't restarted in weeks due to how long it takes

load more comments (1 replies)
load more comments (2 replies)
load more comments (2 replies)
[-] Netrunner@programming.dev 18 points 11 months ago* (last edited 11 months ago)

This article is a wall of text spreading fake info. The sleep states work fine in windows if you have any idea how it works. And this has been the case for at least 8 years.

If you have any issue go into cmd type powercfg -requests and windows will tell you what is keeping it awake.

And doubling down if you really want your pc to wake if its off and you slap your keyboard just tweak your bios wake options and done.

[-] pulaskiwasright@lemmy.ml 17 points 11 months ago* (last edited 11 months ago)

This shit is so obnoxious I’ve started having to use hibernate again.

Potentially my mac does the same thing, but it doesn’t wake itself up stealing monitors, running fans at 100%, and becoming a space heater like the two windows computers I have. If it does wake itself up, then I don’t notice.

[-] Nighed@sffa.community 9 points 11 months ago

Hibernate with an SSD is pretty damn good anyway. It's not always available for some reason though?

[-] jormaig@programming.dev 9 points 11 months ago

Most of the time comes disabled by default. You can easily change it but it's a shame that it doesn't come enabled by default

[-] AtmaJnana@lemmy.world 7 points 11 months ago

I have 64gb of ram, so I don't always have enough ssd space to hibernate.

[-] Imgonnatrythis@sh.itjust.works 7 points 11 months ago

Methinks you could use more ssd space then

load more comments (5 replies)
[-] affiliate@lemmy.world 15 points 11 months ago

wow they’re just like me

[-] Pxtl@lemmy.ca 15 points 11 months ago

I had the same problem with my work-issued Thinkpad. No overheating, but frequently pulling the laptop out of the bag and finding battery dead. Solution I found was to bind the power-button to "hibernate", and just using that any time I knew I was going to be putting it away into my bag.

One problem I ran into writing my first Windows Store application like 10 years ago was that Windows Store seemed to have no interest in mobile-style security where you request permissions one-at-a-time and only the ones you need - the intended workflow was that you either requested no secure privs and let your app be "untrusted", or you made your app "trusted" and requested all the privs. This was actively recommended by MS.

Of course, this means "wake from sleep" would be something that every app would have permission to do accidentally, even if they didn't want to.

load more comments (2 replies)
[-] sederx@programming.dev 14 points 11 months ago

My girlfriend laptop turns on in the middle of the nights for no fucking reason. As a Linux user this shit is creepy

[-] ConfusedPossum@kbin.social 12 points 11 months ago

My PC used to do this. I would pull the plug sometimes in order to prevent it from happening

load more comments (1 replies)
[-] Octopus1348@thelemmy.club 14 points 11 months ago

This also happens on Linux, after 20 seconds, my computer just wakes up 😠 (definitely not because I don't have enough disk space)

[-] ObviouslyNotBanana@lemmy.world 11 points 11 months ago

Mine started acting up a couple of weeks ago. I've since switched to Linux. I can't have a PC that powers on throughout the night. Eats power.

[-] QuarterSwede@lemmy.world 10 points 11 months ago

My work issued E15 Ryzen 5000 sleeps and hibernates fine. Plus it lasts a long time in both. I wonder if it’s an Intel bug.

[-] 1847953620@lemmy.world 7 points 11 months ago

Hibernate is a different function

load more comments (1 replies)
load more comments (2 replies)
[-] paraphrand@lemmy.world 9 points 11 months ago

Can anyone explain how this is different from Power Nap on Macs? I’ve never heard anyone upset about that.

[-] Aux@lemmy.world 18 points 11 months ago* (last edited 11 months ago)

LTT had a great video on that. Basically Windows has a bug which sometimes prevents this sleep mode from working correctly and that nukes battery life. Microsoft has promised a fix, but apparently it's not resolved still. In theory it should work exactly the same as Power Nap. It sometimes does, but sometimes - not so much.

P.S. Power Nap used to be buggy as well, but Apple fixed it years ago.

load more comments (2 replies)
[-] BombOmOm@lemmy.world 7 points 11 months ago

Yeah, at this point I either leave the computer on or shut it down. Sleep and Hibernate are both too unreliable.

[-] kescusay@lemmy.world 7 points 11 months ago

Yeah, shit like this (but by no means limited to this) is why I use Linux exclusively for my personal computers. It used to be that putting a Linux laptop to sleep was a hit-or-miss affair that took a lot of configuration. Now it just works, no muss no fuss.

load more comments
view more: next ›
this post was submitted on 20 Nov 2023
446 points (95.7% liked)

Technology

59205 readers
2816 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS