Re:Ask HN: What does one look for in a laptop these days?
by danieldk on Sunday October 17, 2021 @02:25AM
(#28894402)
I'm fairly certain that your Macbook is actually hibernating, and not merely suspending. This seems to be the case with my 2015 Macbook.
Actually, as far as I understand it's a mixture like modern sleep in Windows. Like modern sleep, the system also wakes up to fetch e-mail, calendar events, etc. But in contrast to Windows, it actually works well and is very restrictive (only certain whitelisted apps can update). Apple calls it Power Nap:
Which means when I close the laptop, it suspends for 30 minutes. If I open before 30 minutes, it resumes right away. If not, it hibernates. The battery will last for practically days if you configure it this way
I know, but hibernate on Linux has many issues. First of all, properly restoring hardware state is even more of a hit and miss than S3 sleep (where e.g. the trackpad would often not come up correctly).
Hibernate on Linux also has all kinds of security issues. Hibernate currently does not work with Secure Boot + kernel_lockdown [1]. Hibernate with randomly-keyed encrypted swap requires all kinds of workarounds.
I am not willing to forgo security mechanisms that have been supported for some time on other systems.
Actually, as far as I understand it's a mixture like modern sleep in Windows. Like modern sleep, the system also wakes up to fetch e-mail, calendar events, etc. But in contrast to Windows, it actually works well and is very restrictive (only certain whitelisted apps can update). Apple calls it Power Nap:
https://support.apple.com/guide/mac-help/what-is-power-nap-m...
Which means when I close the laptop, it suspends for 30 minutes. If I open before 30 minutes, it resumes right away. If not, it hibernates. The battery will last for practically days if you configure it this way
I know, but hibernate on Linux has many issues. First of all, properly restoring hardware state is even more of a hit and miss than S3 sleep (where e.g. the trackpad would often not come up correctly).
Hibernate on Linux also has all kinds of security issues. Hibernate currently does not work with Secure Boot + kernel_lockdown [1]. Hibernate with randomly-keyed encrypted swap requires all kinds of workarounds.
I am not willing to forgo security mechanisms that have been supported for some time on other systems.
[1] https://mjg59.dreamwidth.org/55845.html