A sudden failure of the “Health” app on Android to synchronize data with a fitness bracelet, resetting the step counter or disappearance of the training history is most often caused by the lack of a single standard for activity monitoring in the system, in contrast to the built-in at the iOS kernel level of the HealthKit solution.
Problems may lie either in a banal conflict between operating system updates or in the aggressive energy saving policy of a particular smartphone manufacturer. For example, device owners Xiaomi or Huawei often complain about the forced stop of background processes, which is critical for the operation of activity trackers. In this article, we will analyze in detail the architecture of such services and methods for restoring them.
Before taking radical measures like resetting settings, it is necessary to carry out basic diagnostics. Often the solution lies on the surface: it is enough to simply check for active permissions or restart the system service Google Play Services, which is the foundation for many health applications.
Conflicts between system services and third-party trackers
One of the most common causes of failures is the simultaneous operation of several applications claiming to be the main collector of health data. The Android operating system may block access to sensors for one of them, considering the other a priority. This is especially true if you have both Google Fit, Samsung Health and an application from a fitness watch manufacturer installed, for example, Garmin Connect or Zepp Life.
When several utilities try to write data to the same database in real time, a resource race condition occurs. As a result, you may experience data skips or a complete recording stop. System permissions In this case, they can be issued to only one leader, and the rest of the applications will work in a limited mode or not work at all.
⚠️ Attention: If you are using a third-party launcher or custom firmware, access to hardware sensors (accelerometer, gyroscope) can be programmatically limited by the shell developer.
To eliminate the conflict, it is recommended to leave only one main application for collecting statistics, and configure the others exclusively to read data via the API. You can check which application has priority access in the accessibility section or through the battery usage settings.
Problems with permissions and access to sensors
Modern versions of Android, starting from 10 and especially in 13 and 14 versions, the privacy policy has been tightened. The application may be installed correctly, but may not be able to read data about your location or physical activity. Without permission to access physical activity (Physical Activity), the pedometer simply will not receive signals from the accelerometer.
Often, users accidentally reject an access request during the first launch or after a system update. In this case, the app's interface may appear to be working, but internally it is not receiving any input. You need to manually go into the application settings and make sure that the switches next to Physical Activity, Location and Notifications are active.
- 📍 Check permission to access geolocation: without it, many functions, such as tracking running routes, become unavailable.
- 🔋 Make sure that the application is allowed to run in the background, otherwise data collection will stop immediately after the screen turns off.
- 📡 To synchronize with external devices, you may need permission to work with Bluetooth and neighboring devices.
Particular attention should be paid to the new types of permissions introduced in the latest security patches. Sometimes the system requires re-confirmation of access to sensitive data after a major firmware update. Ignoring this requirement results in the fact that Health Connect —the new standard for data exchange in Android—cannot transfer information between applications.
Use the settings shortcut: enter “Permission Manager” in the phone settings search and select the “Physical activity” category to see a list of all applications that have access to motion sensors.
The influence of aggressive energy saving on background processes
Manufacturers of Chinese smartphone brands, such as Xiaomi, Oppo, Vivo and Honor, are known for their strict optimization of energy consumption. Their proprietary shells MIUI, ColorOS and others often forcefully “kill” processes that run in the background for longer than a certain time, considering them useless for saving battery power.
A health application that needs to run 24 hours a day falls under this optimization first. The system sees that the app is consuming resources, but does not display the active interface, and terminates its operation. As a result, you open the application and see that no data was recorded for the night or during the walk.
To fix this, you need to add the application to the exceptions list or configure the battery mode individually. The path to the settings may vary, but usually it looks like Settings → Applications → Manage applications → [Your application] → Battery saving. Here you need to select the mode No restrictions.
| Smartphone brand | Name of saving function | Where to disable |
|---|---|---|
| Xiaomi / Redmi | MIUI Optimization / Battery | Settings → Battery → Applications |
| Samsung | Adaptive Battery | Settings → Device maintenance → Battery |
| Huawei / Honor | Startup applications | Settings → Battery → Launch applications |
| Oppo / Realme | Autostart | Settings → Battery → Application manager |
It is also worth checking the sleep mode settings. If the phone goes into deep sleep when the screen is locked, network connections and sensors may be disconnected. Excluding sleep mode Ensures that the app will continue monitoring even in your pocket.
☑️ Setting power saving for the tracker
Synchronization errors and problems with Google account
Many health applications are tied to the ecosystem Google or manufacturer's account (for example, Mi Account or Samsung Account). If authorization tokens become out of sync or Google Play services fail, data transfer will stop. You can see old data, but new data is not uploaded to the cloud.
A frequent problem is that the Google Play services cache is full. This is a system component that is responsible for interaction between applications and servers. If its cache is corrupted, the health app can neither send nor receive data. Clearing the cache often solves the problem instantly, without requiring you to delete the application itself.
To do this, go to Settings → Applications → Google Play Services → Storage and press the Clear cachebutton. Do not confuse this with clearing data, as the latter option will reset the settings of all related services and require re-authorization on the phone.
⚠️ Attention: The settings menu interface may vary depending on the version of Android and the manufacturer's shell. If you don't find the "Google Play Services" item, use the search in the settings.
Also check the synchronization status in the account itself. Go to Settings → Accounts → Google, select your email and make sure that the checkbox next to "Fit" or "Health" is checked. If the checkbox is unchecked, turn it on and click "Synchronize."
What to do if synchronization is frozen forever?
If regular synchronization does not help, try removing your Google account from your phone and adding it again. This will reset all access tokens. First make sure that you remember your email password so as not to lose access to the device.
Outdated software and incompatibility of Android versions
Application developers are constantly updating their products, adding new features and closing vulnerabilities. If you have an older version of the health app, it may simply not be compatible with the current version of your operating system. This especially often happens after updating your smartphone to a new version of Android.
The opposite situation is also possible: the application has been updated to a version that requires a newer Android than what you have installed. In this case, the app may crash on startup or work incorrectly. You can check for updates in the store Google Play or Galaxy Store.
Sometimes the problem lies in the outdated software of the smartphone itself. Manufacturers release patches that correct errors in working with sensors. If your device has not received security updates for a long time, you should check for them manually through the menu Settings → About phone → System update.
The critical factor is the version of the API that the application supports. If the developer has stopped supporting older versions of Android, the only solution is to find an old APK version of the application (which is unsafe) or change the app to one more friendly to older systems.
- 🔄 Regularly check the application store for updates for the activity tracker.
- 📱 Update your smartphone firmware, as new patches often contain fixes for sensor drivers.
- 🗑️ If the update caused an error, try rolling back to the previous version of the application, if such an option is provided by the developer.
Hardware malfunctions of sensors and their diagnostics
If software methods did not help, the problem may be physical in nature. Smartphone sensors are microelectromechanical systems (MEMS) that can fail when dropped, hit, or exposed to moisture. The accelerometer and gyroscope are the most fragile elements in the health data collection chain.
You can use special engineering codes or third-party utilities to diagnose the hardware. Enter the code #0# in your phone (works on many Samsung and some other brands) to enter the engineering menu. There you can test the operation of the accelerometer and sensors in real time.
adb shell dumpsys sensorservice
This command, entered through a computer with ADB installed, will display a detailed list of all available sensors and their current status. If the sensor is not in the list or its status is "Not Connected", the problem is hardware. In this case, software repair is impossible; the module will need to be replaced at a service center.
If the sensors are not detected even in the engineering menu, the problem is 99% hardware. Soft resets and reinstalling applications are powerless here.
Sometimes the sensor is working properly, but the calibration is lost. In this case, the pedometer may count steps when you are sitting or not when you walk. Some applications have a built-in calibration function, which should be launched after walking a known distance.
Frequently asked questions (FAQ)
Why does the Health application show 0 steps, although I walked?
Most likely, the application does not have permission to access "Physical activity" or it was stopped by energy saving system. Check your permission settings and add the app to battery exceptions. Also make sure that the sensor is not blocked by a case or magnet.
Is it possible to recover deleted workout data?
If the data was synchronized with the cloud (Google Fit, Samsung Cloud), it will be restored after re-authorization. If synchronization was disabled and you cleared the application data, then the local history is lost forever.
Why did battery consumption increase after installing the tracker?
Constantly polling GPS and accelerometer sensors in the background requires resources. Try reducing the geolocation accuracy to "By network coordinates" or disabling constant heart rate monitoring if it is not critical.
How to transfer health data to a new phone?
Use the backup function in the settings of the application itself or export data via Google Takeout. When you log into the same account on a new device, the history will be updated automatically.
Is it safe to use third-party applications to read health data?
Use only trusted applications with high ratings. Avoid apps that require excessive rights (for example, access to contacts or SMS), since health data is confidential information.