What is the health software that comes with Apple's mobile phone? Can it really measure sleep state? What is it based on?

Theoretically, the health software that comes with Apple software can detect the sleep state. Recently, I often suffer from insomnia, so I pay more attention to the insomnia analysis of mobile phone health and see how long I have rested. Generally speaking, it is more accurate. After the human body enters the sleep state, it is completely different from the awake state. Mobile phone monitor sleep mainly monitors whether the mobile phone moves through the mobile phone gyroscope, and the mobile phone can also record the number of times it is turned on. We usually can't see it. You can download moment to view it, and you can monitor the surrounding sounds. Hey sair can prove that the mobile phone can monitor the surrounding sound environment, and then the mobile phone can analyze your sleep situation through data integration. If you wear smart devices, you can improve the accuracy of monitoring sleep!