Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Proper sleep.




It's funny that you say that, given that since S3 was effectively killed, I can't say I experienced proper sleep in Windows or macOS either. Linux so far is closest to my expectations.

Same. Windows just stopped going to sleep across multiple laptops. I gave up and run "shutdown /h" when I really want to guarantee it doesn't drain the battery. MacOS in theory sleeps, but I can't get rid of the periodic wakeups that drain a lot over a longer time.

It's a weird time when Linux has the best sleep support overall.


Last time I looked at it on macOS, you had to disable keeping the TCP connections or something like in the network stack. Which incidentally disables Find My, sadly.

My recent experience switching from Windows to Linux (NixOS) suggests otherwise.

I use a ThinkPad P1 Gen 3. My dGPU actually died due to overheating caused by Windows failing to sleep properly. On Windows, the fans were always noisy and temperatures stayed above 60°C.

Since switching to Linux, the fans are very quiet and temperatures sit between 40–50°C. What surprised me most is that sleep mode works much better on Linux than on Windows, where the frequent failures eventually killed my GPU.


Works fine for me, on Fruit Factory hardware even. Close the thing, it goes to sleep. Open it, it wakes up. Leave it closed for a very very long time and it hibernates. Open it again and it comes back to life. Your experience may vary depending on what hardware you run it on but for me it works fine on the mentioned machines, on a HP Spectre 360, another HP Elitebook and on a really ancient Toshiba Satellite. I've had problems with sleep on a Thinkpad P50 with a discrete NVidia Quattro GPU, it goes to sleep but won't wake up so I have that machine set to hibernate as soon as the lid is closed. This takes a bit longer (but not that long, SSD is fast) but it would have been more pleasant to use if normal sleep worked as intended.

If your computer fails to sleep, or fails to wake up correctly after sleeping, when running Linux then the problem is almost always the hardware manufacturer’s fault. Many motherboards come with frankly broken ACPI tables that should never have made it out of QA. Remember this (<https://news.ycombinator.com/item?id=45271484>) recent story? This is just the tip of the iceberg. For every well–researched story we have about ACPI problems there are a dozen more that are quietly fixed by Linux kernel developers (who instruct the kernel to simply ignore the broken ACPI tables and write a custom kernel driver to do the work instead) and an unknown but presumably large number that never come to the attention of a kernel developer.

It's not that Linux is "bad" when the hardware is incompatible, it's not "Linux's fault". It's that, at a certain age, I don't want to spend my precious few hours of free time working _on_ my computer, I just want it to work.

(big fan of MacOS, and esp. third-party Mac software, the quality of which simply does not exist on any other platform)

(Also, I have huge affection for Linux. I used Linux exclusively for years personally, and any place I could sneak it into my work environment)


Sure. But if it doesn’t work then _return the hardware_. It’s the manufacturer’s fault.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: