What is the principle of monitoring sleep and wake-up for the Xiaomi Smart Band 9 Pro?

The details about the monitoring principle of sleep and wake-up are listed below:
1. The sleep algorithm determines whether you sleep or wake up by detecting changes in the ACC. When the ACC data changes little for a period of time, it can be considered that the activity is small, and the algorithm will determine that you sleep. When the ACC data changes for a period of time, it can be considered that the activity consumes more power, and the algorithm will determine that you wake up; 
2. In scenes such as playing with your phone and watching movies, since the changes in ACC in this scene are relatively slight, sleeping will be detected wrongly; 
3. If you enable [Advanced monitoring] and [Breathing rate] in sleep settings, the data of the PPG sensor will be used, and the algorithm will analyze the sleep state through the ACC and PPG data to obtain the sleep stage results and sleep data.