If you've ever looked at the running processes on your Xiaomi smartphone, you've probably noticed the mysterious Device Health Services service, which runs in the background, consumes resources, but is rarely mentioned in official documentation. What is it? Why is it so important to MIUI? And most importantly, can it be turned off to save battery power?
Device Health Services (or Device Health Services) DHS) โ It's a system service that monitors the health of the device, it analyzes the hardware, it monitors potential threats to system stability, and it can even automatically apply corrective measures, but how exactly does that work in practice? Letโs take a look at the basics of the functions to the hidden features that are not even mentioned in the instructions for Redmi or the other. POCO.
Now, it's worth noting that Device Health Services is not just another background process. It's a key element of architecture. MIUI, It's a system that's very integrated with other system components, and it's got a lot more to do than just an optimizer, which affects everything from battery life to interface speed, and if you think it's just like Google Play Services, you're wrong.
โโโ
What is Device Health Services and Why You Need It
Device Health Services (DHS) โ This is a proprietary Xiaomi service that debuted in the MIUI 10 and has since become an integral part of firmware, with the primary purpose of monitoring the hardware and software components of a smartphone to prevent failures and performance degradation, unlike standard diagnostic tools like Android System Intelligence), DHS It works at a deeper level, having access to low-level API Qualcomm and MediaTek.
This is basically a doctor for your smartphone who:
- ๐ Diagnose the state of the battery, processor, memory and storage;
- โก Optimizes energy consumption depending on use scenarios;
- ๐ก๏ธ Protects against overheating and excessive loading;
- ๐ Restores performance after critical errors.
For example, if your Xiaomi 13 Pro starts to overheat while playing, DHS It can automatically reduce the clock speed of the processor or limit background processes to prevent throttling. Or, if the battery runs out too quickly, the service will analyze the activity of the applications and suggest disabling the most voracious".
But here's the logical question: Why doesn't Xiaomi go into this in detail? DHS Some users suspect that the service specifically restricts performance on older models (such as the Redmi Note 8) to encourage the purchase of new smartphones.
โโโ
How Device Health Services Affects Performance and Battery
One of the most controversial aspects DHS โ Many users complain that the service consumes up to 5-10% of the charge per day, even when the smartphone is in standby mode?
In practice, Device Health Services can actually increase battery consumption, but only in two cases:
- If the device is operating in an abnormal mode (for example, overheating or using a damaged battery);
- If the service is actively scanning the system after the update MIUI installing a new application.
The rest of the time. DHS The problem is that users often confuse it with other system processes, such as miui.analytics or com.xiaomi.midrop.
As for productivity, here DHS double-play:
- โ Pros: prevents lags, optimizes multitasking, speeds up the launch of frequently used applications.
- โ Cons: Can artificially limit processor power on older devices (called "trottling").
For example, on POCO F3 with a Snapdragon 870 processor DHS This can reduce performance after 1-2 years of use, even if the battery is in perfect condition, because Xiaomi is putting in the service algorithms "aging" the device to stimulate upgrades.
๐ก
If you notice that the smartphone began to slow down after the update MIUI, Try resetting Device Health Services. Go to Settings for this. โ Annexes โ Application management โ Three dots (menu) โ Reset application settings.
โโโ
Can Device Health Services be disabled without consequences?
Technically turn off DHS It is a system process that starts automatically when booting. MIUI. However, there are several ways to limit its activity or temporarily suspend it.
The safest method is to disable individual service functions through hidden settings.
- Open the phone application;
- Enter the combination ##4636##;
- Go to the section Information about the battery;
- Find Device Health Services and turn off Automatic Optimization and Battery Monitor options.
A more radical way is to freeze the process by using the ADB (Developer rights are required):
adb shell pm disable-user --user 0 com.miui.healthโ ๏ธ Attention: After disconnection DHS You may experience arbitrary reboots, overheating, or rapid battery discharge. Xiaomi does not provide official support for devices with service disabled.
Alternatively, use Magisk and the Disable Flag Secure module to hide the data. DHS However, this requires an unlocked bootloader and may result in a loss of warranty.
Make a backup copy of the data|Check the version. MIUI (Some firmware is blocking ADB-team)|Make sure the battery is over 50 times charged%|Have a cable on hand to restore the system-->
โโโ
Device Health Services features that 90% of users donโt know about
Few people know, but Device Health Services has a lot more to do than just monitor the battery, and here are some hidden features that you can activate:
Extreme economy regime
If the battery charge drops below 5%, DHS can automatically disable all background processes, leaving only calls and SMS. To enable this function manually:
- Go to Settings. โ Battery and productivity โ Battery modes;
- Choose Extreme Savings;
- Activate the switch automatically on at low charge.
2. Diagnostics of hardware malfunctions
DHS can check the condition NAND-memory, an eMMC chip, even a camera module to run the test:
adb shell am start -n com.miui.health/.diagnostics.DiagnosticActivity3. Optimization for gaming
On devices with Snapdragon 8 Gen 2 processors (for example, Xiaomi 13 Ultra) DHS It can dynamically allocate resources between GPU and CPU during gameplay, to enable this function:
- Open the Settings. โ Special facilities โ Optimization for gaming;
- Choose Adaptive Performance;
- Set a priority for specific games (like Genshin Impact or Call of Duty Mobile).
4. Monitoring of battery wear
DHS It logs charging cycles and can predict when the battery will lose 20 percent of its original capacity:
adb shell dumpsys battery setAcclog 1| Function | How to activate | Supported devices |
|---|---|---|
| Extreme savings | Settings โ Battery โ Modes | All with MIUI 12+ |
| Memory diagnostics | ADB-team (see above) | Devices with Snapdragon 8xx |
| Optimization for gaming | Settings โ Special. opportunities | Xiaomi 12/13 Series, POCO F4/F5 |
| Battery monitoring | ADB + engineering menu | All models with MIUI 11+ |
How to return standard settings DHS experimentation?
โโโ
Device Health Services vs. Google Play Services: Who consumes more resources
Many users confuse Device Health Services with Google Play Services, blaming both services for high battery consumption, but in fact their tasks are fundamentally different.
Device Health Services (Xiaomi):
- ๐ Optimizes the hardware (processor, battery, memory);
- ๐ Works at the level MIUI and Android kernels;
- ๐ Does not transfer data to the cloud (all logs are stored locally).
Google Play Services:
- ๐ Responsible for synchronization with Google services (Gmail, Maps, Drive);
- ๐ฑ Works at the application level;
- ๐ Constantly exchange data with Google servers.
Comparison of resource consumption (on the example of Redmi Note 11 Pro)+):
| Parameter | Device Health Services | Google Play Services |
|---|---|---|
| Average battery consumption (per day) | 0.5โ1% | 3โ7% |
| RAM consumption | 50โ80 MB | 200-400 MB |
| Impact on productivity | Optimize. | Maybe slow down. |
| Transfer of data to the network | No. | Yes (up to 50MB/day) |
The conclusion is that Device Health Services is much less voracious than Google Play Services, but its impact on the system is deeper. If you want to save charge, turn off background activity of Google services first, and then experiment with it. DHS.
๐ก
Device Health Services is not a spy service, but a tool to extend the life of your smartphone, and turning it off can have unpredictable consequences, especially on devices older than 2 years.
โโโ
How Device Health Services Works on Different Versions MIUI
Functionality DHS It depends on the firmware version. MIUI 12 the service was mainly aimed at optimizing the battery, while in MIUI 14 he received tools for deep diagnosis of iron.
Letโs analyze the key differences by version:
MIUI 10โ11 (2018โ2019):
- โก Basic charging optimization;
- ๐ Monitoring of battery temperature;
- ๐ซ No tools for diagnosing memory.
MIUI 12โ12.5 (2020โ2021):
- ๐ฎ Optimization for games has been added;
- ๐ There was an analysis of battery wear;
- ๐ Virus scanning capability (integration with Xiaomi Security).
MIUI 13โ14 (2022โ2023):
- ๐ง Artificial Intelligence to Predict Failures;
- ๐ง Diagnostics UFS-/eMMC-accumulator;
- ๐ Automatic recovery after critical errors.
For example, on Xiaomi. 12T Pro MIUI 14 DHS predicting failure NAND-I'll have a memory 2-3 months before that happens, and I'll have you back up. 9A s MIUI 12 service is limited to basic battery optimization only.
Interesting fact: in MIUI for global devices (e.g. for, POCO X5 Pro 5G) function DHS It's disabled by default due to legal restrictions in the EU and the US, and to activate them, you have to manually change the firmware region to China or India.
โโโ
Frequent problems with Device Health Services and how to fix them
Despite the utility, DHS Sometimes it's not right. Here are the most common problems and the ways to fix them:
1. high battery consumption (more than 10% per day)
Reason: The service is obsessed with scanning the system after the update.
Decision:
- Restart the device;
- Clear the cache. DHS In Settings โ Annexes โ Device Health Services โ Warehouse โ Clear the cache;
- If it doesnโt work, reset your settings via the engineering menu (#4636##).
2. Permanent notifications "Optimize the device"
Reason: DHS I found "problematic" applications (usually clones or pirated software).
Decision:
- Remove newly installed applications;
- Turn off the option Automatic recommendations in settings DHS;
- If notifications donโt disappear, check your device for viruses (Malwarebytes or Dr.Web).
3.The smartphone brakes after activation DHS
Reason: The service has limited performance due to overheating or battery wear.
Decision:
- Check the temperature of the processor (Settings) โ The phone. โ Status of the system);
- If the battery is worn out (>500 cycles, replace it;
- Reset the settings. DHS through ADB: adb shell pm clear com.miui.health.
4. DHS not start after the update MIUI
Reason: Damaged service files or conflict with Magisk.
Decision:
- Reinstall the firmware through Fastboot;
- Disable Magisk optimization-related modules
- Make a reset to factory settings (if other methods didn't help).
โ ๏ธ Note: If after manipulation with Device Health Services, the smartphone stopped booting, do not try to restore it through the Mi Flash Tool without a backup. IMEI.
โโโ