![]() ![]() ![]() We chose the latter option because this results in a more accurate “average duration” of sleep reported in Health. This means that, in order to convert Fitbit’s numbers into Health’s Asleep category, we had to make a trade-off and choose between two different approaches:ġ) We could report your Asleep start/end time in Health as the same times that Fitbit reports, resulting in a sleep duration in Health that does not match FitbitĢ) We could report the Asleep start time as what Fitbit reports, but then take the Fitbit end time and subtract the number of minutes you were awake in the middle of the night, and use that as the “end time” in Health. While Fitbit does record the start time of your sleep, they also record how many times you wake up and for how long you are awake each of those times.įitbit also records the final time you wake up, and then reports your Total Sleep Time as the duration between when you first went to sleep and the last time you woke up, less the number of minutes you were awake throughout the night. The start/end time Asleep should always be a subset of In-Bed (how can you be asleep if you’re not in bed?).įitbit also talks about things in terms of start/end time In-Bed, but their Asleep category is slightly different. Health talks about sleep in terms of a start/end time In-Bed and a start/end time Asleep. Rather, the Fitbit dashboard only allows you to view the Calories Burned number, which does not equal the Calories BMR (what Health calls Resting Calories) or Activity Calories (what Health calls Active Calories).įurthermore, due to the way Fitbit calculates Activity Calories and Calories BMR, their Calories Burned number does not equal the sum total of the two. What Apple means by Active Calories is only those calories "burned due to physical activity and exercise” ( see HKQuantityTypeIdentifierActiveEnergyBurned in the Apple developer reference).įitbit does have a value for what Health calls Active Calories - they call it Activity Calories ( see activities/activit圜alories under the Calorie Time Series Differencess section in the Fitbit developer reference).Įven though the Fitbit API allows you to get data with this level of specificity, the Fitbit dashboard does not show these numbers. Health has categories for Active and Resting Calories but not Total Calories (what Fitbit calls Calories Burned). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |