News for hackers. Stuff that matters.
Re:Ask HN: Why is the Linux community struggling to implemen... by AzN1337c0d3r on Thursday April 08, 2021 @11:32AM (#26740068)
The reason is that Dell replaced S3 sleep with Modern Standby.

Modern standby is turning on my XPS so much it can actually get dangerously hot in my backpack.

Re:Ask HN: Why is the Linux community struggling to implemen... by exikyut on Thursday April 08, 2021 @12:06PM (#26740466)
"Modern Standby": https://www.dell.com/support/kbdoc/en-au/000177661/what-is-m...

Also, snrk:

> Symptoms

> Microsoft introduced Modern Standby in 2012 to improve battery life and the transition between power states, allowing Windows PCs to transition between on/off states faster, like your smartphone does.

It's a knowledgebase article using a standard Support/Resolution template (that might not be changeable). The irony is thoroughly amusing and IMO appropriate.

Re:Ask HN: Why is the Linux community struggling to implemen... by bartread on Thursday April 08, 2021 @01:40PM (#26741603)
Thanks. This, and the GP, are helpful. Does naturally lead to the question of why in hell they'd implement this when, from my perspective as a user, it's much MUCH worse than S3 sleep.
Re:Ask HN: Why is the Linux community struggling to implemen... by rzzzt on Thursday April 08, 2021 @02:21PM (#26742016)
The Bay Trail Atom-based tablets used this, they behaved really like oversized x86 smartphones. When it works ;), it is quite impressive.
Re:Ask HN: Why is the Linux community struggling to implemen... by throwaway8581 on Thursday April 08, 2021 @02:55PM (#26742375)
You can enable Network Disconnected Modern Standby. Documented well at https://www.tenforums.com/tutorials/108378-add-networking-co... and https://www.tenforums.com/tutorials/146593-enable-disable-ne...

I recommend the powercfg command line approach instead of the UI.

Re:Ask HN: Why is the Linux community struggling to implemen... by gre on Thursday April 08, 2021 @12:28PM (#26740749)
My Macbooks have cooked themselves in my backpack plenty of times over the years.
Re:Ask HN: Why is the Linux community struggling to implemen... by bartread on Thursday April 08, 2021 @01:37PM (#26741585)
Sure, mine's done it occasionally (rarely enough to be a surprise when it does happen), but do they do it every single time you put them to sleep? I doubt it. My Dell does this every single time it goes to sleep. It's really aggravating.
Re:Ask HN: Why is the Linux community struggling to implemen... by cma on Thursday April 08, 2021 @03:26PM (#26742690)
If you use an SD card, Apple issued an update to have it cook itself every single time, and never enter hibernate, to sell more 2-3x markup native storage space. If you try to fix it, the next update will break it again.
Re:Ask HN: Why is the Linux community struggling to implemen... by pmontra on Thursday April 08, 2021 @12:05PM (#26740450)
I don't use Windows so I didn't know what Modern Standby is. I googled this page https://docs.microsoft.com/en-us/windows-hardware/design/dev...

TLDR: "enables the system to stay connected to the network while in a low power mode" [...] "with the added benefit of allowing value-added software activities to run periodically" [...] "When a system service or background task requires network access, Windows automatically transitions the networking device to an active mode" [...] "longer active intervals occur for a variety of reasons, for example, processing incoming email or downloading critical Windows updates."

Details about what can temporarily activate Windows in Modern Standby at https://docs.microsoft.com/en-us/windows-hardware/design/dev...

Don't you have a way to disable it and go back to what Microsoft calls Traditional Sleep?

Re:Ask HN: Why is the Linux community struggling to implemen... by deckard1 on Thursday April 08, 2021 @01:00PM (#26741157)
> Don't you have a way to disable it and go back to what Microsoft calls Traditional Sleep?

Yes, on some laptops, such as Lenovo, you can switch from "Windows" to "Linux" sleep mode in BIOS (yes, they are really named after the OS).

Here's the rub: you have to reinstall Windows. There used to be registry edit you could do but that seems to no longer work. At least it didn't for me.

Re:Ask HN: Why is the Linux community struggling to implemen... by FeistySkink on Thursday April 08, 2021 @12:30PM (#26740769)
On ThinkPads it can be disabled in BIOS.
Re:Ask HN: Why is the Linux community struggling to implemen... by terinjokes on Thursday April 08, 2021 @07:11PM (#26744917)
> Don't you have a way to disable it and go back to what Microsoft calls Traditional Sleep?

No OP, but most of Dell's current lineup no longer has support for any other modes in the firmware. So no, I can't disable it.

Re:Ask HN: Why is the Linux community struggling to implemen... by pmontra on Friday April 09, 2021 @08:21AM (#26749594)
What happens if you install Linux? Does it stay in traditional sleep because there is no software in the OS to temporarily awake the computer?
Re:Ask HN: Why is the Linux community struggling to implemen... by terinjokes on Friday April 09, 2021 @12:59PM (#26752983)
The new Dell laptops only support "modern sleep". Linux doesn't support this very well, so while things look to go to sleep (eg, screens turn off) the system is still on, just idling. Since Linux doesn't have all the hardware support that Dell's drivers for Windows might, not all hardware devices are put into a low power mode.

So often what happens is nothing: the battery often drains completely overnight and it's guaranteed to be dead on Monday morning if I let it "sleep" on Friday.