Apple Health lies to you about your six months sleep average

21 sigbit 16 8/29/2025, 1:15:10 PM github.com ↗

Comments (16)

st3fan · 2h ago
"This is a little app that showcases how a multi-trillion company like Apple Inc lies to you about your sleep average over six months to make you feel better"

I think a different tone and maybe assume there is good intent instead of immediately claiming it is something malicious (lies by a trillion dollar company) would help with the messaging.

I am curious. But how you present this doesn't really help.

handsclean · 18m ago
Unfortunately, it really does help. Apple is notorious for never fixing bugs unless somebody stirs up drama. Other comments say this specific bug has been there for years.
ofcrpls · 1h ago
After writing 100s of Feedbacks over the years on Apple OS betas which never got acknowledged in any manner, I totally side with this approach for Production bugs.
blitzar · 1h ago
> to make you feel better

Obviously that is the motive for the lie. 100% not a dev who can leetcode good but can't do basic math.

It is, however, proof that the app wasnt vibe coded (written BVC) - ai wouldnt make that mistake or lie to your like that.

rkomorn · 2h ago
Yeah. "They screwed up." is a much more credible explanation.
N_Lens · 1h ago
But how will it go viral otherwise?!
incone123 · 1h ago
I saw a lecture years ago where, among other things, the professor demonstrated the iPhone calculator app doing calculations differently depending on if you held it portrait or landscape. I think that was poor design rather than intent to mess up your calculations.
tensor · 1h ago
Can we stop with the "lies" business? This is a very old bug that is inexplicably not fixed, but I highly doubt an Apple employee did this maliciously. For what purpose?
zawaideh · 1h ago
There are so many odd decisions and/or bugs with it..

for example, logging the weight in Kilograms using shortcuts and asking it to read it back while sometimes run into float rounding 75.0000000000001... why not store in grams as an integer!!

Sometimes time in bed is shorter than time asleep!

dmicah · 1h ago
I have a single night of sleep logged to Apple Health in the last 6-months, and the 6 month average exactly matches that single night. It seems that the author of this app is assuming that Apple is using the wrong denominator when calculating the 6-month average, but I think there could be other explanations for the difference in calculated values. For example how the two approaches might deal with data from different sleep data sources within Apple Health from the same date, how multiple sleep sessions on the same calendar date are merged prior to averaging, etc.
rkomorn · 2h ago
My 6 month data is definitely wrong but it is hilariously more wrong for the time periods I was traveling 6-8 time zones away from home where it's telling me I averaged from 6:05pm to 6:00pm (a cool 24 hours) while showing a graph that has an 8 hour window where I'm not sleeping.

Other than that it's somehow giving me an average of waking up around an hour later than I'd actually wake up.

strongpigeon · 1h ago
I just checked my own data and there is clearly a bug. The 6 months average is almost a full hour longer than any of the individual preceding 6 months…

Seems like a stretch to assume it’s intentional though.

sigbit · 4h ago
I was confused about why my average sleep duration over six months was so high, so I decided to investigate. I found out that, for some reason, the six-month calculation doesn’t use the actual number of days but instead uses the magic number 147 to calculate the average.
dfabulich · 1h ago
Now is a good time to file a bug in Apple's Feedback Assistant. https://feedbackassistant.apple.com/
KaiserPro · 1h ago
Apple's sleep data is fucking suspect to start with.

I went through a stage of getting insomnia (or I was woken up by something). I would wake up, get out of bed for 30 minutes, then get back. it would be registered as light sleep stage

I once got the running shits, I was on the toilet shitting my life force out for three hours. It claimed I was only awake for 20 minutes that night.

anikom15 · 1h ago
It also lies about the weather.