September 3, 2026 · 4 min read

Sleep interruptions and awake time

How awakenings are counted inside the main session, how awake time is summed, the continuity factor they feed, and what to build.

What the interruption biomarkers measure

BiomarkerWhat it isUnit
sleep_interruptionsNumber of separate awakenings inside the main sleep sessionCount
sleep_awake_durationTotal minutes awake after sleep onset during the nightMinutes

Both are reported daily over the 6pm to 6pm sleep day, dated by the morning it ends, and both require a wearable.

Fieldsleep_interruptions, sleep_awake_duration
UnitCount, minutes
ReportedDaily, one value per night, when the source records awake periods
Window6pm to 6pm, profile local time. Dated by the morning the window ends.
Wearable requiredYes
APIGET /api/v1/profile/biomarker/{externalId}?categories=sleep plus one types parameter per field and a date range
WebhookBiomarkerCreatedIntegrationEvent. Entries update in place, upsert on id.

Data sources

Both need awake data from the night’s winning source, chosen as described under sleep duration.

Source typeInterruptionsAwake duration
Timestamped awake records (Apple Watch, Fitbit, Oura, Garmin, most Health Connect writers)YesYes, summed from the records
Provider awake totals only (WHOOP)NoYes, from the total
In-bed or asleep only, including the phone estimateNoNo

How Sahha calculates sleep interruptions

Interruptions.

  1. Take the main sleep session, the longest in the window.
  2. Collect awake records that fall entirely within it and merge adjacent or overlapping ones into runs.
  3. Discard any run that touches the session’s start or end.
  4. Count the remaining runs.

Awake duration. If the provider reports an awake total for the night, use it. Otherwise sum all awake records in the window.

A source with no awake records produces no interruption count. Absence means the source cannot see awakenings, not that there were none.

Interpreting the values

Devices disagree on what counts as awake. Some flag a few minutes of stillness-breaking movement as awake; others require several minutes. The same night on two devices can differ by a factor of two in count. Compare within a source.

Brief awakenings are normal. Healthy adults spend some time awake after sleep onset every night, and the amount rises with age [1]. A count of five or more, or awake duration above 45 minutes, sustained over a week, is what the continuity factor treats as a problem.

Awake duration includes the wake-up tail on some sources. A user who lies in bed for 30 minutes after waking, still tracked, adds those minutes if the provider counts them as awake within the session.

Score factor. The Sleep and Wellbeing scores carry a factor named sleep_continuity, unit minute, goal 0, whose value is the night’s awake duration. Credit decays with awake minutes:

Awake minutesFactor score
01.00
150.93
300.87
600.75
1200.56

Users whose source has no awake data have no continuity factor and are not penalised for it.

Trend. A sleep_continuity trend is available on the factor score.

Comparison. None.

Use cases

A fragmentation explanation. When duration is fine and the Sleep Score is not, awake minutes are usually why. “You were awake for 52 minutes across 4 wakings” is the sentence to show.

GET /api/v1/profile/biomarker/{externalId}?categories=sleep&types=sleep_interruptions&types=sleep_awake_duration&startDateTime=2026-08-26&endDateTime=2026-09-02

An environment or alcohol check-in. Awake duration is the sleep metric that responds most to late alcohol, room temperature, and noise. A tag-based feature that asks about the evening when awake time spikes above the user’s median gets useful answers.

Limitations

  • Wearable only. Phone-only users have neither field.
  • Count and duration can come from different logic. Count is scoped to the main session; duration from totals covers the provider’s whole night. They will not always agree.
  • Sensitivity varies by device. Do not compare users across devices on either field.
  • Absence is not zero.

References

  1. Ohayon MM, Carskadon MA, Guilleminault C, Vitiello MV. Meta-analysis of quantitative sleep parameters from childhood to old age in healthy individuals. Sleep. 2004;27(7):1255-1273. https://doi.org/10.1093/sleep/27.7.1255

Related