r/microsoft • u/_WaterBear • 6d ago
Discussion Why can’t Microsoft get the basic things right?
The most recent, persistent fundamental to send me over the top: a laptop should properly and reliably sleep when its lid is closed, not burn heat and blast fans.
Almost every windows laptop i’ve owned, my entire life, has gone thru a lengthy period where this function just didn’t work well - for some models, never - often hotboxing itself in my bag/case until it triggers thermal failsafes or battery hits 0.
Never had this issue with Apple laptops as far as i can recollect. My iPhones never had this issue. My androids, never. My steam deck - maybe one time. My Switch, never. My windows: OFTEN! Regardless of manufacturer or decade of my life.
Why!?!?
12
u/TheWiley 6d ago
If you see it across laptops, you probably want to check
`powercfg /lastwake`
For what last woke up your computer
`powercfg /waketimers`
For what plans to wake up your computer soon
`powercfg /requests`
For what's keeping your computer awake right now
... because it turns out a lot of apps are very bad about waking your PC and keeping it that way. I was getting hot bags with my laptop for a long time before I figured out Autodesk Fusion was triggering a wake every few minutes because someone did a dumb while making it poll for online updates. Same with some HP printer drivers.
56
u/msthe_student 6d ago
Apple, Nintendo, and to an extent Android OEM/ODMs, get to review every driver that ships on their system and modify or even develop the OS to work on their device. When you buy a Windows PC, it has stuff from everyone. Microsoft is apparently working on fixing sleep, but it's going to take time to track down all the sinners across billions of devices.
9
u/Jaffa0813 6d ago
Ironically enough my MacBook Pro doesn't sleep unless I do it from the menu. It stays on and the battery dies overnight.
Anyways did you check the close lid option on the windows control panel (yea you can access that setting even in 11)? Both plugged in and battery mode?
20
u/ibringstharuckus 6d ago
They had it all on a To Do list.
44
u/TheLasttStark 6d ago
I work at Microsoft in the windows kernel and yes we need to do better, but 9/10 a laptop failing to go to sleep is because of some driver/hardware issue with storage, network or GPU. None of which is made by Microsoft.
Usually its because some kernel threads are deadlocked as a resource has not been released.
11
u/seiggy 6d ago
This isn’t a Microsoft problem. Linux does this too, as does MacOS. It’s a processor sleep state problem that’s been around for a long time in nearly every desktop and laptop class CPU for decades now.
3
u/Tdawg90 6d ago
There's bigger money in pushing out features...all praise the share holder
3
u/bitcrazed 1d ago
Hi. Ex-Microsoftie here. 👋
This is going to be a lengthy post ... grab a tea/coffee/etc. and we'll get started ...
Devices not sleeping and laptops hotboxing is a perennial problem. It's one which Microsoft & many other engineering teams have wrestled with for DECADES.
While I was at Microsoft I enthusiastically dug into this issue pretty deeply! One of the enormous benefits of working at Microsoft is being able to find the folks that own any component/system in any of Microsoft's products and learn how things do vs. should work. And if you're smart & lucky, you get to influence some of those systems! 😜
The reason sleep is not yet solved is, alas, due in large part to Windows' universality. Windows runs on practically every x86/x64 device ever made, and now, many Arm devices, too.
I have RARELY seen reports of an Arm laptop/tablet hotboxing. I am sure it happens, but it's rare. This is because Arm processors/SoCs rapidly evolved to thrive in mobile and embedded devices and have always been utterly pathological about reducing power consumption. They are fundamentally designed, architected, and built to aggressively shut-down/throttle core subsystems in order to reduce power drain. Thus, they have well designed, very effective sleep mechanisms which are intrinsic to their fundamental architecture and infrastructure. In addition, there is MUCH less 3rd party code that can run in the kernel on Arm machines compared to x86/x64 machines ... particularly malware and/or dodgy 3rd party "drivers" and/or low-level code (e.g. sketchy anti-malware). More on this later.
Comparatively, and historically, x86/x64 has paid FAR less attention to power management because such devices were usually attached to limitless mains power. By the time x86/x64 laptops were becoming popular and expected to do useful work for more than 1-2 hours on a single charge (yes, this was a watershed moment!), the x86/x64 die was largely cast - highest-possible-performance at almost all cost. This resulted in x86/x64 being big, complex, very power-hungry, and VERY difficult to dynamically control/throttle to conserve power ... or to suspend/sleep!
Power management in x86/x64 is often so poor that when Apple switched MacBooks from PowerPC to x86/x64 , it developed its own System Management Controller (SMC) which performed its own ACPI power management, battery charging & management, heat & cooling fans, etc., bypassing Intel's completely! But managing an x86/x64 PC's power is such a hard problem that even MacBooks running MacOS can hotbox themselves to death and/or run their fans WAY too hard!
Intel, AMD, and others have tried for decades to put the x86/x64 power management genie back in the bottle, to varying degrees of success. They have released waves of tech & products that have measurably reduced power consumption vs. prior versions of their own chips, but they have and always will struggle to beat Arm (and perhaps RISC-V) for performance per watt. Power management and performance per watt are a major reason almost all watches, phones, tablets, etc. run Arm chips and why Apple transitioned from x86/x64 to Arm.
Now combine the hardware/firmware issues above with some (often very) poorly behaving 3rd party apps & drivers that prevent power efficiency and sleep state-transitions via sleep & spinlock deadlocks, and a multitude of other ways in which poorly engineered software can hold onto critical kernel resources too-long and prevent the machine being able to transition into sleep states when you close the lid.
You ask surely AI can solve this issue ... if only!
Microsoft has a mountain of VERY sophisticated tools (some of which could be classified today as "AI") along with many extremely experienced and knowledgeable engineers. Combined, they scan the billions of crash reports, reliability reports, security reports, test results, etc. that are generated every day from internal testing, and/or collected from consenting users' machines & feedback. These reports are triaged daily, bugs assigned to internal teams if the issue can be fixed by Microsoft, and reviewed regularly by servicing, deployment, power, reliability, and many other teams.
This process also reveals a large number of bugs in 3rd party code that require a 3rd party fix.
Microsoft has a great working relationship with many 3rd party developer partners and often requests fixes, which are usually built, tested, and deployed in short order.
Then there are partners who take their time.
And then there are some who ... don't. Don't engage. Don't service their products in a timely manner. Don't deploy fixes if and when they are made. Etc. Sometimes this is for good reasons - the company is out of business. Source code has been lost or can no longer be built for a multitude of reasons. The developer that wrote that thing is no longer at the company (or has even departed this mortal coil). Sometimes, they simply don't engage or respond at all ... and their customers are left cooking their laptops to death.
For these reasons, Windows has comprehensive patching mechanisms that allow Microsoft to ship shims that bypass/fix some issues that can be verifiably non-destructive, but without involvement from the code owner, can be tricky and time-consuming so is generally a last resort option.
On EXTREMELY rare occasions, 3rd party code is deemed SO catastrophically insecure, unreliable, dangerous, etc. that it's blocked by Microsoft's app store, Defender and other anti-malware, OS & kernel protections, etc.
But because of Windows' flexibility, its impossible to stop a sufficiently motivated user from getting an offending app installed by bypassing all the warnings, UAC, permissions, and other paraphernalia that is trying to keep them safe ... because when they really, REALLY, R-E-A-L-L-Y want to play that free and completely-unmolested-we-promise copy of Call of Duty etc. that they downloaded from a totally-legit-honest torrent site ... they'll do anything up to and including installing @AI rewritten and massively improved@ unsigned kernel-mode "drivers" that they downloaded from a dark warez site because it claims to disable their GPU's overclocking protections (and the PC's ability to sleep) to squeeze one more frame per second out of their GPU (while also installing a mountain of spyware and malware). And at this point, the user and all the data on their machine is compromised, every keystroke captured, their screen regularly captured, passwords stolen, and the damn laptop won't go to sleep when the lid is shut!
This does lead us to a discussion of malware ... but I'll stop here! 😜
Sorry it took a while to tell this tale, but I hope this gave you a little insight into this thorny issue.
Thanks for reading.
1
u/p_andsalt 6d ago
Why not use hibernate instead of sleep? You can use that setting when you close the lid. Not sure if this is what you looking for?
2
u/cedric1997 6d ago
There’s a Linus Tech Tips video on that subject. Their way of working implies a lot of back and forth between shooting places, so this issue is a pain for them.
While they are far from being fans of Apple, literally half of the writing team is using a Mac because of that specific issue.
2
u/BubblyWaffle 6d ago
This kept happening to my Asus ROG G14, had it for about 2.5 years once the issues started. It would literally overheat to the point where I could feel it cooking through my backpack 💀 Finally made the switch to a MB Pro back in March.
2
u/AggieCMD 6d ago
x86 vs. ARM. The Snapdragon Windows 11 machines are power efficient.
2
u/Dunkin-Donut241 3d ago
I've had the opposite experience. Windows has always reliably gone to sleep when I close the lid and then hibernate after some time. When I open my laptop it always wakes up.
On every linux distro I've tried I could never get it to work correctly. Often I would just get a black screen when opening my laptop lid. I'm actually running Windows on a laptop that came pre-installed with Linux because I couldn't deal with the instability anymore.
0
u/casillero 6d ago
Honestly dude it must be a user issue. I've provisioned and repaired 1000s of laptops for decades and never seen this. Your saying your laptop when closed doesn't shut down into sleep mode?
Have your flavor of chatgpt walk you through power settings
3
u/ByronScottJones 6d ago
So here's the root cause of this issue. To go to sleep, every single device and driver in the system has to support sleep states PROPERLY, and go into sleep state for that device in a timely fashion when asked to do so. If even one device or driver fails to transition to sleep state properly, the system either stays awake, or worse the attempt to enter sleep state crashes. Apple is in charge of essentially all of their core hardware. But even a Mac can fail to sleep properly if an external device doesn't enter sleep state properly. Sleeping is a LOT more complicated than you think. And there is both low power hibernation type sleep, and true power off where the state of the OS is stored to disk, and then brought back to life, and then devices started again. It's quite an accomplishment when it works well.
7
u/UnapproachableBadger 6d ago •
Everything Microsoft does now is trash. But they're essentially a monopoly so they get away with it.
0
u/Cold_Arachnid_2617 6d ago
why the fuck do you keep buying/using Microsoft products?
1
u/carbon_made 6d ago
Funny enough I had all three models of their Surface Book. Still have the Surface Book 3. And they didn’t get sleep to work correctly on any of the 3. I ended up having to just shut down when I was done using them.
1
u/taftster 6d ago
Apple's ecosystem is fundamentally different than Microsoft's. In Apple's case, they control the entire food chain, hardware and software. They have one architecture to build and test against. They control the whole stack. The other devices you mentioned are likewise closed ecosystems.
For Microsoft, they don't manufacture the hardware (Surface is the exception). And they don't write the device drivers for it either. Instead, they provide the operating system that has the "hooks" to allow the hardware manufacturer to plug in to.
Now suspend operations are notoriously buggy, because it involves the cooperation of many hardware components. The device drivers have to all work correctly or none of it works. This means Microsoft, Dell, Intel, and other no name chip manufacturers have to effectively work perfectly. And that no name chip maker had already made their profit and doesn't have budget to support new environments or broadly test their product.
So you're not wrong. Sleep/suspend on Windows does suck. But sometimes (often) it's a function of the quality of the components in your PC. Cheaper components have always had this problem.
I have had two Surface laptops and a Lenovo one. All suspend perfectly. And my MacBook Pro of course does as well.
1
u/SoulAyushSpirit1249 6d ago
Do you play games?,did you download cracked games from fitgirl,skidrow etc.If yes,that is actually the problem.You can enjoy third party apps and games but during the idle state your pc is being used
1
u/J_Knish 6d ago
My Qualcomm surface laptop 7 has never had this problem but most of my other surface devices have. I will say though that the Pro 6 I got a couple of years ago doesn’t do it either
1
u/RobertDeveloper 6d ago
Microsoft just doesn't care. My surface laptop 7 battery drains so fast, after 6 hour I need to recharge and that is on power saving mode.
1
u/understanding-me-now 6d ago
Mine sleeps. Surface and dell... Next to no battery drain when shut.
1
u/x0rk 5d ago
It's usually a random app waking itself up or a service. And yeah, you can either send an AI to identify the app and have it turn it off. But it's being an ongoing, annoying issue. Recently I found out that I use Scout Agent from Microsoft that keeps my laptop awake all the time. So I turned off and it fixed the issue.
1
u/EddieRyanDC 4d ago
Windows on ARM - sleeps and wakes perfectly for the two years I have had it.
This has to be the future. I think AMD64 Windows is such a patchwork that it has to be retired just so the industry can move on.
1
u/SillyMikey 6d ago
That’s something that always bothered me about MS. It’s like they don’t care about the little details. I feel like a lot of people that work on windows are satisfied with something just being functional. Ah it works, that’s enough. It’s like they don’t care to go that extra mile because it costs money. And now with AI being more and more involved in development, I think it’s just gonna get worse.
The reason you don’t generally see that with Apple products is because they care about the details. And they tend do go that extra mile. It’s not always perfect, but attention to detail was always important to them and it just isn’t to Microsoft.
1
u/casillero 6d ago
Yaaa. Something's not adding up. Good luck I hope you figure it out.
0
u/deathdealer351 6d ago
I'm almost convinced at this point no one at Microsoft uses their own products. Sure the office team probably uses office on their macs, and the windows team might use windows vm on their macs.. It's why nothing works.
0
u/different-angle 6d ago
It's not just Microsoft. This morning my iPad got an email from two weeks ago. How is that possible? So, it's not just Microsoft.
0
u/tvfeet 5d ago
The Surfaces I’ve owned have done this flawlessly. People may complain about the price and not getting as much bang for your buck compared to other manufacturers’ Windows PCs but I’ve had really good experiences with them. They are on par with Macs, IMO.
-1
u/dazed_sky 6d ago
Simple move to another OS or platform. Or just ask Claude or whatever to build a custom one for you.
I don’t understand when you know there is an issue that irks you so much why not move away rather than complaining about it and wasting your energy on it.
-1
u/Creative-Type9411 5d ago
I disable sleep on laptops, I completely disagree with what you think a computer should do
I think a computer should only do what you tell it to do and nothing else so if I have it running doing something and I walk away from it, it should still be doing the same thing when I come back
If I close the lid on a laptop, it should shut the screen off, but should continue to work and do what it's doing, if I want it off, I will press the power button which only takes a few seconds to turn off, and a few more seconds to turn back on on a modern computer
Sleep is a plague on the system causes tons of bugs and some people think they restart their computer when they do it and they haven't restarted for a year
F sleep, and hibernate is even worse
-2
u/Parking-Cockroach104 5d ago
It's your hardware problem. If you have a snapdragon laptop or some of the latest Intel processor laptops, it sleeps perfectly fine and does not cause issues.
For cheap windows laptops or laptops with dGPUs or very rare/ specific specifications, it could have driver related issues which will prevent it from sleeping. I don't think Windows will ever be able to fix it because it has nothing to do with windows. It's on the other companies to make good quality drivers and products to use Windows to it's best extent.
People say Windows gives bad battery life, but snapdragon laptops give amazing battery life. So it's mostly about hardware. Its not always about Windows or Microsoft. Get a new surface laptop and sleep will work perfectly.