logoalt Hacker News

jasonjmcgheeyesterday at 6:47 PM4 repliesview on HN

Out of sheer curiosity, why do apple devices have astronomically longer battery life when sleeping? (How is the sleep so efficient?)

I was busy with work and didn't touch my personal laptop for a few weeks and it still had well over half the battery.


Replies

iknowstuffyesterday at 6:55 PM

They write their own software. And firmware. Other OEMs can just beg their tier 1/2 suppliers to get their shit together and put components to sleep properly by making windows, drivers, and firmware work well together.

Also things like lpddr5x, ssd controller built into the SoC with cache in unified ram (instead of running a whole ass separate computer with its own ram on an m2 stick) etc

show 3 replies
zekicayesterday at 7:25 PM

Mainly because Microsoft wants to have "connected standby": the CPU is running in a low power mode (not powered off like "old" S3 sleep), can be turned on periodically and can turn on other devices even when the computer is "sleeping".

My Zen2 based Lenovo laptop has 6-7 hours of battery when doing basic tasks in both Windows and Linux, but sleep on Linux lasts a week while on Windows it's empty in 24 hours.

show 3 replies
Neikiusyesterday at 7:20 PM

Trying to reduce idle power use of a simple esp32 based project I did a while back... Yeah it is indeed tricky. Apple having full control of their hardware supply chain, firmware and software helps a ton. And PC standardization issues do no good either.

On the other hand framework is actually in a good position to do something about it. Similar to valve. I think they do have more control than a regular PC vendor when also using Linux ad they have a very limited portfolio of devices and can actually upstream software fixes.

jeffbeeyesterday at 6:56 PM

I think it's just a vertical integration thing. They know what's in the machine and they can make sure that their suspend path puts every peripheral to sleep. Linux has no idea what's in your machine and there may be some device in there somewhere that freaks out if the machine goes to sleep without saying goodnight. Even a 50mW draw will destroy the suspend power budget. Chromebooks have similar vertical integration with respect to ChromeOS and they also enjoy long sleep life. Hypothetically an integrator like Framework can also guarantee this but I can't vouch for it being true, and they would not have any control over Ubuntu updates after the laptop is delivered to the customer.

Just to beat my favorite dead horse, this is why the insistence on SO-DIMMs "BEcAuse it's rEpAIrAble" has wrecked the reputation of a lot of laptops. DDR on a stick is fundamentally hostile to sleep power draw. Soldered-down LPDDR memory has always been massively superior for energy savings, and LP-CAMM finally solves the issue.

show 1 reply