08-06-2014 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-06-2014 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Per this article https://help.fitbit.com/customer/portal/articles/1230068-sleep-tracking-faqs, the sleep efficiency formula is
time asleep / (total time in bed - time to fall asleep)
I assume that means, in API attribute terms, the formula is
minutesAsleep / (timeInBed - minutesToFallAsleep)
However, this formula gives me an efficiency value different from the value that is returned from the API. It seems the true formula is
minutesAsleep / (timeInBed - minutesToFallAsleep - minutesAfterWakeup)
Can you confirm this? Or have I made wrong assumptions in mapping the API attributes with the formula on the FAQ page?
08-23-2019 15:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-23-2019 15:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I tried that calculation and it doesn't seem to produce the same number. Let me know if you find the answer.

