Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sleep Efficiency Formula

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?

Best Answer
1 REPLY 1

I tried that calculation and it doesn't seem to produce the same number. Let me know if you find the answer.

Best Answer
0 Votes