Why is the data on the band out of sync when the Xiaomi Smart Band 8 is disconnected from the iOS phone for a long time?

When the App runs a lot in the background, it will be cleared from the background, and the device will be disconnected from the App, causing the data to be unable to be synchronized. You need to enter the Mi Fitness App to automatically connect back and synchronize the data. After the App is cleared from the background, reopening the App will automatically connect back to the device and you can synchronize and use it normally.
Clear the background reason:
The running memory (RAM) is used up by the App. In order for other recently opened apps to run, the system must clear some apps running in the background to free up RAM. Depending on the model and iOS system software version, the frequency of clearing the background will be different . Taking iPhone 12 as an example, the memory is 4GB. Opening 4 apps in iOS 16.3.1 will clear the background . After upgrading to the quasi-official version of iOS 16.4, even opening 5-6 apps did not clear the background (it depends on the specific app, for example, the camera takes up a relatively large amount of memory).
During normal use, pay attention to the following two points to reduce the frequency of background clearing :
1. Ensure that the mobile phone has sufficient power, avoid overheating the mobile phone and turn off the low power mode. If the battery is insufficient, the heat is severe, or the phone is in low battery mode, the CPU will be actively reduced in frequency, and the frequency of background clearing will increase significantly.
2. Open the phone's "Settings" - "General" - "Background App Refresh" in turn, and enable this function.
Determine whether the application has been cleared from the background by the system:
If the Mi Fitness App is cleared from the background, re-entering the App will result in the following two operation interface sequences; that is, the application startup page will be displayed first, and then the application homepage will be displayed;
If the Mi Fitness App has not been cleared from the background, the page that was previously operated before exiting will be retained when entering the App.