For the complete documentation index, see llms.txt. This page is also available as Markdown.

Does inactivity_seconds include sleep?

For providers that don't report inactive time directly (like Garmin), inactivity_seconds is computed as 24 hours minus active time.

For providers that don't report inactive time directly (like Garmin), inactivity_seconds is computed as 24 hours minus active time. So it includes sleep and is not a sedentary-time metric.

For sedentary behaviour, use the more granular activity_levels_samples instead, since most wearable APIs don't expose a dedicated sedentary-minutes field.

Last updated

Was this helpful?