by m_st · 4y ago · 0 comments
Windows has this setting "When I close the lid" which is set to "Sleep". In fact it should be renamed as "Drain the battery and heat the bag".
Being a happy MacBook user since they were called PowerBook, I never ever had any such issue with an Apple laptop. Not even, when they were using the same Intel CPUs.
Worse, some months ago I even found a Dell support forum post where they said, to not use sleep mode when putting your laptop away.
The short story is this: many devices are now active in a low-power state during sleep and can generate a huge variety of events that the OS is expected to receive and make a decision on. Sometimes the OS doesn't understand the event or there's a requirements issue (implementers did not understand/foresee the use case) and these can both result in the system waking for seemingly no good reason. For example, my issue with Linux seems to be the USB controller generating an event the driver did not understand or handle correctly. My issue with Windows seems to be more that a well-intentioned decision (newly connecting Bluetooth devices should wake up the system, which tends to make sense in the case of a mouse/keyboard) had an irritating implication in real-world use (BT headset that connects to multiple devices simultaneously would connect to and wake up my laptop when I was using it with my phone). Unfortunately the way events are implemented on Linux and I assume on Windows as well, there isn't really any support for "if the lid is still closed the system should stay asleep" and so once the system wakes up for an event, and there's no handler that causes it to go back to suspend, it tends to just sit there awake even though the lid is closed. There's no "new event" for the OS to handle since the lid state remains the same. I'm not sure if it's practical for the system to check the lid state in real-time instead of waiting for ACPI events about it.
For what it's worth I'd say my touchbar MacBook Pro does this more often than my Windows ThinkPads do, to the extent that pulling it out of my bag and discovering that the battery has gone completely flat overnight is probably a weekly experience. I haven't put much effort into diagnosing this so I don't know if it's a result of some odd software I'm using or something.
My early 2020 16inch required lots of tweaking to prevent complete discharge every night and battery is sub 7500mAh now. It still happens several times a year and I am not sure why. I am probably not paying over 4000 EUR next time. User since the 2006 MB Pro.
I believe, although I'm not 100% sure, that in addition to turning on the computer without the user consent, it also puts the machine in a strange state where it's neither on nor off.
According to the spec: https://en.wikipedia.org/wiki/InstantGo, it's allowed to suck up to 7.5% of battery every day. As a matter of fact, my Surface device would lose more than 5% every day, and I'd find odd periods of wakeup in the sleep log (when the machine was supposedly fully shutdown).
Why? So that apps can communicate with the Internet while the machine is in sleep mode, or do periodic wakeups for other reasons. Another attempt to shoehorn the smartphone paradigm into desktops/laptops.
Does S0ix-related heat increase or decrease when laptop is in a faraday bag?
It's less about telemetry etc. (you could do it with age old ACPI timers), it's about people complaining laptop doesn't boot immediately from sleep when they open the lid - but also that on a system where power management support is heavily tested (read: not Linux) "Modern Standby" has less moving parts and is harder to break.
It's truly notoriously bad. I suppose it's designed that way to ensure a game won't black screen, but how hard would it be to make it a bit smarter? Ie when VSCODE or Terminal has focus, allow sleep.
The whole situation really corrodes my trust in Dell.
They consider an actually working laptop to be a premium feature reserved for the latitude business line.
That's still a thing? I thought they would have sorted that out a decade ago; my laptop from my first job (regular dell thing, I don't remember) was cooking in the bag and that's been over ten years ago.
Sometimes an update is pending and the shutdown menu gives a choice "update and shutdown" or just "shutdown". So I pick "shutdown". It then updates anyway, including full restarts.
Sometimes there's no special options in the shutdown and upon shutting down, an update is forced. Even ones I did not postpone for too long.
Further, the "restart" option is really too close to "shutdown", especially on a very large screen. And there's no canceling once it starts.
There is just such an issue right now with macOS 12.2: https://www.macworld.com/article/610175/macos-monterey-12-2-...
I currently have to shut down my Mac mini every night instead of putting it to sleep because it routinely crashes and reboots in the middle of the night, lighting up the room
Meanwhile the MacBook Air M1 just works. For each and every feature.
It's sad, but as a Windows Dev, the XPS15 still is a great machine. You just have to know and adapt to its bad parts.