???
I don't think I've seen a laptop that doesn't have closed lid detection. At the very least it's common enough that windows has a setting specifically for it: https://www.tenforums.com/tutorials/69762-how-change-default...
It's maddening that only Apple gets this right 100% of the time, and it's among the things keeping me on Apple's platform for the moment. I can't fathom why this isn't a bigger priority for everyone else: much like "trackpads that don't suck", it's a huge quality-of-life thing which keeps tons of people on Macs because they want it to Just Work without ever thinking about it.
That's due to "connected standby"[1], which is to have laptops behave more like a phone when in sleep. This is in contrast to S3 sleep, which basically halts all activity. Sounds all good in theory, but as soon as you allow code to be run while in sleep, it's easy for some runaway app (OS or third party) to eat through your battery even while your laptop is "sleeping". Worse is that there's no way to force sleep, so your only choice is hibernate, which is even worse than S3 sleep before.
[1] https://learn.microsoft.com/en-us/windows-hardware/design/de...
There’s also wake on LAN which if enabled can rouse the machine from sleep after it’s successfully entered a sleep state.
Source: My macbook has drained its battery flat while closed in my bag dozens of times. Then it just stopped doing that on an OS update. I still have no idea why.
So anyway that killed one of my laptop's batteries. So much for supporting Internet freedoms...
Windows comes with a utility that'll tell you what process denied a sleep request, super useful.
I've actually ran into MacBooks not sleeping a few times, but it is much rarer.
It is unfortunate because back on the mid 2000s windows had the best functioning sleep code, but then they tried to catch up with iPad's # instant on and chasing perfection led to the current mess.
Much more likely is that the OS was prevented from going to sleep by some badly behaved process, or got woken up by another thing like allowing USB to wake it from sleep, where even touching the mouse can wake it - with some laptop equivalent like a ghost touchpad touch or whatever.
There's decent reasons to over-engineer some of these sensors so they can't be unduly tricked by external influences.
I've never once had a Dell/HP/Acer/Asus with a reliable lid close sensor. You can't trust those things.
Presumably he meant the laptop didn't go into standby when closed or woke up from standby while still closed.
Just want to warn other readers: Not all framework models have S3 sleep. I've got the 7040 AMD framework laptop and it only does s2idle.
Halting power until an external physical event seems like a simple enough idea. I have never wanted to close my laptop and let it keep number crunching.