Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.04 KB

sleep_map.md

File metadata and controls

13 lines (11 loc) · 1.04 KB

Android sleep stages are listed here. HealthKit sleep stages are listed here

sleep stage name HealthConnect equivalent HealthKit equivalent
sleep STAGE_TYPE_SLEEPING HKCategoryValueSleepAnalysisAsleep or HKCategoryValueSleepAnalysisAsleepCore or HKCategoryValueSleepAnalysisAsleepUnspecified
sleep.light STAGE_TYPE_LIGHT HKCategoryValueSleepAnalysisAsleepCore
sleep.deep STAGE_TYPE_DEEP HKCategoryValueSleepAnalysisAsleepDeep
sleep.rem STAGE_TYPE_REM HKCategoryValueSleepAnalysisAsleepREM
sleep.inBed STAGE_TYPE_AWAKE_IN_BED HKCategoryValueSleepAnalysisInBed
sleep.awake STAGE_TYPE_AWAKE HKCategoryValueSleepAnalysisAwake
sleep.outOfBed STAGE_TYPE_OUT_OF_BED HKCategoryValueSleepAnalysisAwake