Sleep settings
Sleep monitoring needs bedtime / risetime settings.
Bracelet Plan
The sleep monitoring is enabled according to the plan set to the bracelet.
Bracelet plan documentation here
Bedtime / Risetime
The sleep monitoring uses the bracelet battery, and to avoid a high consumption, the sleep is not monitored all day long. This is why it is important to set a theoretical bedtime and risetime to the bracelet. The sleep will be monitored starting 2 hours before the theoretical bedtime and 3h maximum after the rise time (sleep stop conditions below).
Sleep Stop
The sleep is stopped automatically in the morning after 250 steps. If the users doesn’t reached 250 steps it will be stopped automatically 3h after the rise time by the bracelet.
Sleep session
The sleep monitoring provides a sleep session (start, stop, 30 seconds slots), then the sleep session is filtered to obtain the best user friendly result. Here are the filtering steps:
- Remove awake blocks at the beginning and the end of the night.
- The sleep will always start and end with a sleep stage (light / REM / deep)
- Noise filtering: the graph is flattened, the slots have to last at least 2 min straight
- Example: REM sleep during 20 min, then one 30 seconds awake slot, and after 10 more minutes of REM sleep: the 30s awake will be filtered and will not appear
- 1 minute slots
- Slots have 0 seconds (22:01:00, 22:02:00, etc)
- Start and stop time have 0 seconds too
Sleep process technically:
From SDK 2.2.0, the sleep session is computed on the bracelet ("Corsano sleep"). While the user sleeps the bracelet records and analyses the night itself; once the session is finished the SDK downloads it during a normal sync, the same way it downloads any other data. There is no .wiff sleep parsing on the phone any more, and the bundled Philips library is removed.
See Sleep processing for the full flow and, if you are upgrading from 2.1.x, the migration steps.