Hacker News new | ask | show | jobs
by taneq 2979 days ago
Are they going to add a new Power Management setting saying "Don't randomly lock the screen and/or sleep the computer while you're actively using it"?
3 comments

My favorite power management bug is in the Windows 7 original release. The default configuration was to put the computer to sleep after 30 minutes of inactivity. In many situations this was fine however what is the first thing that you do with a new OS installation? Install patches of course. And the way that Windows works is it does this in two phases, it'll do some installation work while a user is a logged in, and it'll do additional installation and configuration stuff after a reboot but before a user can login. Which the OS isn't smart enough to understand doesn't count as "idle time". So at some point after Windows 7 came out the size and installation time of all the patches (especially on a spinning hard drive) would cause the OS to get into a reboot loop. It would boot, immediately try to apply the configuration updates for installed patches, timeout and be triggered to go to sleep, rollback the changes, and then it would start again. Eventually some failure threshold would get triggered and you could actually login and fix the stupid power management settings before trying to patch again but it was always a nasty surprise if you forgot about it and simply assumed MS wouldn't ever do something so braindead.
When has this ever been the case? Serious question...
My biggest problem with Windows is the automatic restarts. Under no circumstances should my computer restart without me telling it to.
My Surface Pro 4 recently tried to commit suicide by installing a feature update while having 2% battery left, after I explicitly postponed it. They are never going to learn.
If you aren't at the computer and your computer isn't doing anything then Windows sets a usernotpresent flag. Fold@home or something, make your computer do shit.
Hmm. What's the threshold of activity? And is there a way to clear the flag without doing something wasteful like pegging some CPU cores?
There's a long-standing bug with power management which causes the computer to sleep at random intervals. It's something to do with an interaction between power management and USB selective suspend, not sure exactly what triggers it but it's highly annoying. I'll be in a game, literally holding down one of the mouse buttons, and the computer will go to sleep.
I don’t think they’ll add a “please don’t restart for updates forcefully while I have a full screen presentation on projector for my peers” setting either.
It's there as a group policy, fyi.
I've set the group policy and still come home to find my desktop having rebooted
You didn’t also change that other group policy that take precedence in certain situations over the one you changed.
I thought that was only available in the enterprise versions? My Windows 10 Pro laptop has the group policy editor, but it doesn't seem like it helps.
or better yet, a public bug tracker... So we know for one thing if they are actually fixing a particular bug.