The principle of sleep detection is to collect the body movement during sleep through the mobile phone sensor and analyze the characteristics of deep sleep, so the distance should not exceed 50 cm.
1. In the latest version of Xiaomi Health, sleep recording and automatic detection of deep sleep are provided.
2. In addition, in System Settings-Health, turn on the "self-startup" permission and set the power saving policy to "unlimited".