Under the HoodยทStep 1 of 11

Step One

Assembling a Night

Apple Health is a pile of samples from every device you own, often overlapping. A night has to be built from it before anything can be counted.

Oura, whole night Oura, stages Apple Watch One night duplicate of the stages, dropped a second device: used only for what the first did not record (here, time in bed) Light, deep, REM, awake; in bed borrowed at the edges. Overlap within a source is clipped: stages beat awake, awake beats unspecified.
Why 19 hours 40 minutes asleep appeared in an early build: Oura writes a whole night span and the stages inside it, and a re-sync leaves copies. Summing them double counts.

What the Research Says

Consumer devices are good at sleep against wake and only fair to moderate at staging, so the assembly has to trust the sleep period more than the labels inside it. Multi-device households are the norm, and every vendor writes to Apple Health in its own shape: Oura a whole span plus stages, Apple Watch stages only, Withings and AutoSleep their own mixes.

What the App Does

  1. Samples are grouped by source. Within a source, overlapping samples are clipped so that stage samples win over awake, awake wins over unspecified, and the earlier start wins ties. Nothing is ever summed twice.
  2. One source records the night. A second device is used only for what the first did not record, such as time in bed from the iPhone’s schedule around a Watch night.
  3. Sleep separated by more than four hours is a second segment, not one long night. A lone daytime nap is a nap, never a night. Unspecified padding at the edges is trimmed to 30 minutes.
  4. Awake only counts inside the night, from first sleep to final wake. Time before falling asleep is latency; time after the final wake is getting up.
  • Schyvens et al. 2025, SLEEP Advances: accuracy of consumer wearables against polysomnography. Source
  • Chinoy et al. 2021, SLEEP: performance of seven consumer sleep trackers against PSG. Source
  • Apple, HealthKit sleep analysis categories (in bed, asleep unspecified, core, deep, REM, awake). Source
The Sleep tab with the stage chart, day strip and headline tiles
The assembled night: stage chart with stirs as ticks, the day strip, and the headline tiles. Tap and hold the chart to read any minute.
The Watch home
The Watch shows the same night in miniature. It never computes a different answer from the phone.

Wellness information, not medical advice. Tidal Sleep does not diagnose, treat, prevent or screen for anything. Full evidence base on The Science; what we leave out on purpose on Safety.