Xiaomi smartphones are famous for their energy efficiency, but even the most reliable batteries over time begin to behave unpredictable. Users often face a situation where the charge indicator shows 20%, and the device suddenly turns off, or the charging process is โstuckโ by 99% and does not go to 100% for a long time.
These anomalies are most often associated not with physical degradation of the chemical element, but with the desynchronization of the software controller and the real level of charge. The battery management system, or BMS, begins to read the data incorrectly, causing the displayed percentage to become untrue, and this is when forced calibration is required.
In this article, we will discuss proven methods for restoring the correct display of charge on devices with the MIUI shell and HyperOS. You will learn how to safely conduct the procedure of resetting statistics without losing data and when the use of specialized software is really necessary.
Signs of the need for battery calibration
Before you start taking action, it is important to clearly determine whether your device really needs intervention. Often users confuse the natural wear of the battery, which cannot be fixed software, with a software failure of the meter. If your phone keeps a charge for 2-3 hours instead of the usual 8, then no calibration will return the lost capacity, here only the replacement of the element will help.
However, if the battery is in good physical condition but the smartphone is acting strangely, you should pay attention to the following symptoms: Dissynchronization manifests itself in sharp jumps in percentage of charge: for example, you look at a screen where 45% is on, and after a minute it is 15%.
Also, the alarm is that it freezes at certain values, and it can charge up to 98-99% and stand there for hours, even if it's the original cable, or it turns off at 10-15% and doesn't turn on without a connection to the network.
- ๐ A sharp drop in charge in idle mode or under light load for no apparent reason.
- ๐ The smartphone turns off when the charge is above 10% and requires a connection to the network to turn on.
- โณ The charging process stops at a certain percentage (e.g. 88% or 99%) and doesnโt go any further for a long time.
โ ๏ธ Warning: If the battery is swollen, a foreign smell appears on the device, or the phone is very warm even when it is turned off, no software methods can be used. Immediately stop using the gadget and contact the service center.
It's important to understand that calibration is not a treatment for the battery, it's a mapping exercise, and it forces the controller to redefinition the limits of full charge and total discharge, and if all the procedures are done, the Li-Ion or Li-Pol cell is likely to be exhausted.
Preparation of the device for the discharge procedure
Qualitative calibration requires certain conditions to be met to ensure that the result is accurate, and first of all, make sure that the device does not run heavy background processes that can distort the current consumed during testing.
It is recommended to close all active applications and turn off energy-consuming functions such as GPS, Bluetooth and constant network search, if they are not required for diagnosis.It is also worth checking whether the device is overheating, as high temperature affects the chemical processes inside the battery and can give false data when reading.
โ๏ธ Checklist of preparations
You'll need a stable power supply to do the procedure, and using cheap Chinese power supplies or damaged cables can cause power surges, which is critical at the point of deep discharge, and the best thing to do is to use the original adapter and cable that came with the kit.
โ ๏ธ Note: Do not attempt calibration if the charge level is critically low (less than the current level). 5%) And the phone's about to turn off. First, put it on charge at least before it's done. 10-15%, to ensure that the system has time to correctly complete all background processes before the procedure.
If you have third-party launchers or energy-saving apps (Clean Master, DU Battery, etc.) installed on your device, they are better removed temporarily. They often have their own power management algorithms that may conflict with MIUI system settings.
Deep discharge and full charge method
The safest and most efficient way to do this, without having to root or install additional software, is to manually recharge the system, and the idea is to allow the controller to self-register the 0% and 100% points in real-world conditions.
Start by using your smartphone normally until it turns off itself. Don't attempt to artificially discharge it, including maximum brightness and games, unless the battery sits for a very long time. Let the device lie off for about an hour so that the residual current in the circuit stabilizes.
Then plug the phone into the charger. Importantly, in some Xiaomi models, charging when off may not display interest immediately. Wait for the logo or indicator to appear. Leave the phone to charge to 100%.
Charging nuances in the off state
After the indicator shows a full charge, do not rush to turn off the cable. Leave the device on charging for another 1-2 hours. This is necessary for the stage of Top-off, when low currents are charged cells that may not have time to fill up in the main cycle.
- ๐ Leave your phone on charge after reaching 100% still 60-90 minutes to level out the balance of cells.
- ๐ฑ After fully charging, turn on the device (if it has been turned off) and check the charge level in the system.
- ๐ If the percentage is less than 100%, reconnect the charger and wait for full filling.
Repeat the cycle of full discharge (before switching off) and full charge (with finishing) 2-3 times. Usually after the second or third cycle, the BMS system meter begins to correctly display the real energy balance.
Use of engineering menus and codes
The MIUI shell contains an engineering menu that allows you to access advanced hardware diagnostics, but itโs worth noting that there is no direct โReset Batteryโ button in the standard engineering menu of most modern models, but there is useful information for analysis.
To enter the diagnostics menu, dial the phone app code ##6484##. Here you can check battery status, voltage and temperature. If you see voltage jumping strongly or temperatures abnormally high when downtime, this is an occasion to consider replacing the battery.
There's also code ##4636## that opens the testing menu, and if you go to Battery Information, you can see more technical details than the normal interface, and sometimes you can see real capacity and health status, if that's what a particular CPU model supports.
๐ก
The codes may not work on newer versions of Android or in some regions. If the code doesn't work, try entering it in the Phone or Caller app without pressing the call button.
Some users recommend the ##34971539## command to access the camera menu, where older firmware versions sometimes feature hidden reset functions, but on current HyperOS, this method hardly works for the battery.
| Code. | Function | Efficiency for calibration |
|---|---|---|
| ##6484## | CIT (Component Testing) | Low (diagnosis only) |
| ##4636## | Phone/battery information | Average (status view) |
| ##34971539## | Camera information | Low (not applicable to BMS) |
| *#06# | IMEI code | Absent. |
The main value of the engineering menu for the average user is to make sure that the temperature and voltage sensors are working correctly, and if the readings are normal here and there is chaos in the system, then the problem is in the logic of the controller, and only the charging cycle will help.
Third-party applications and Root rights
For advanced users with superuser rights (Root), it opens up the possibility of direct writing to the controllerโs system files, which is the most radical, but also the most effective method that physically resets the statistics of charge-discharge cycles in the controllerโs memory.
One popular tool is the Battery Calibration app, which works in a simple way: it deletes the batterystats.bin file, where Android stores battery history, and deleting it forces the system to re-build the discharge graph from scratch.
Root rights obtained through Magisk or built-in bootloader unlocking tools are required to work for such applications, without which the application will only be able to show graphics, but will not make changes to the system.
The process of resetting through Root is as follows:
1. Charge the phone to 100%.
2. Launch the calibration application.
3. Press the "Calibrate" button.
4. Wait for the device to restart.
โ ๏ธ Note: Getting Root rights and unlocking the bootloader on Xiaomi devices leads to blocking some banking applications and security features (Mi Pay, some account protection features.
If Root doesn't have a license, you can try apps like AccuBattery, which can't reset the system calibration, but they help you track the actual capacity in mAh as you go about your use, and by looking at the actual numbers, you can ignore the erroneous percentages on the screen until the system itself aligns.
Prevention and extension of service life
After successful calibration, it is important to follow the operating rules so that the problem does not return in a couple of months.Lithium polymer batteries used in Xiaomi do not like extremes: deep discharge to zero and constant stay at 100%.
The optimal range for a long battery life is between 20% and 80%. Try not to fall below 15% and keep your phone on charge all night unless your device has optimized overnight charging, a feature that is available in modern versions of MIUI and is trained in your habits.
๐ก
The golden rule: Keep the charge in the range of 20-80% and avoid overheating โ this will prolong the life of the battery more efficiently than any calibration.
Also avoid using your phone during fast charging, especially in resource-intensive games.The combination of heat from the processor and heating from the charging current is the main enemy of the battery's chemical composition, leading to its rapid degradation.
- ๐ก๏ธ Avoid overheating the device: Do not leave your phone in the sun or on the car panel.
- ๐ Use only certified cables and power supplies with Quick Charge protocol support.
- ๐ฒ Regularly update the firmware: Xiaomi engineers often release patches that improve the algorithms of working with energy.
These simple recommendations will make calibration obsolete for a long time, and remember that a battery is a consumable, and even with perfect care, its capacity will decrease physically in 2-3 years.