Xiaomi smartphone owners often face a situation where a device that has lasted a year or two begins to discharge noticeably faster. It is a natural process of degradation of chemical elements, but sometimes the fall in autonomy is too sharp. Checking the battery condition is the first step to be performed to understand the real situation: whether software calibration is required, battery replacement or perhaps the problem lies in the background processes of the system.
Modern MIUI and HyperOS devices have advanced diagnostic tools, but access to accurate numbers is often hidden from the average user. Engineering menus, hidden codes and specialized utilities allow you to get detailed information about recharging cycles and current voltage. Without this data, it is difficult to objectively assess the residual resource of the Li-Po or Li-Ion power cell installed in your device.
In this article, we'll look at all the methods available, from simple engineering codes to computer log analysis, and learn how to distinguish software failures from physical wear and tear, and when to think about buying a new battery. It's important to understand that proper diagnosis is half the success of extending the life of your smartphone.
Using the Engineering Menu for Diagnostics
The fastest way to access the power technical data is to type in special commands through a standard phone dialer. In Xiaomi smartphones, this interface is called CIT (Customer Interface Test) or simply an engineering menu. To activate it, just open the Phone app and dial the combination ##6484##. If the code does not work, try the alternative ##4636#, which opens the Android test menu.
Once you enter the code, you'll see a list of available tests on the screen, and we're interested in a battery-related section that might be called Battery Info, Battery Test or simply Battery. Inside this menu, you'll see your current charge status, temperature, voltage and, most importantly, battery health, but you'll also need to consider that new versions of MIUI may have some hidden parameters restricted by the manufacturer.
โ ๏ธ Warning: Do not change the settings in the engineering menu unless you are sure of their purpose.Resetting the battery calibration unnecessarily can cause incorrect display of charge percentages.
You can often find a "Battery Log" or "Check Battery Status" button on the diagnostic menu, and clicking on it will start the process of analyzing current parameters, the system will check the power controller and report it, and if you see a "Good" or "Normal" status, then the controller does not detect critical errors, but this does not always indicate the actual capacity.
Analysis of Charging Cycles through Hidden Codes
A key indicator of battery ageing is the number of full recharge cycles. One cycle is 100% discharge and charge, whether you did it at one time or in several approaches. Xiaomi has a special code ##6485## that displays a detailed summary of the power status.
The most important parameters on this list are MB_06 and MB_00. Parameter MB_06 It shows the health status of the battery, where the value of "Good" is the norm. MB_00 This is the current percentage of charge, but RF_01 (Or sometimes just "Cycle Count" will show the exact number of cycles. 800 loss-cycle 20% container.
- ๐ MB_06 โ Health status (Good, Bad, Overheat).
- ๐ข MB_00 โ current charge level as a percentage.
- ๐ RF_01 โ number of full recharge cycles.
- โก MB_03 โ current battery voltage in millivolts.
If you don't find the right lines in the list of parameters, maybe your smartphone model or firmware version is hiding this data. Current_BMA or Design_Cap, This can give indirect information about the calculated and current capacity, and then you can compare these values to calculate the approximate percentage of degradation.
What do I do if the codes don't work?
Checking wear through system settings
Starting with certain versions of the MIUI shell (most commonly MIUI 12.5 and later, and HyperOS), Xiaomi has implemented a native battery checker tool, which is the safest and easiest method to remember no codes. To find this feature, you need to go to the device settings menu.
Go to Settings โ Phone โ General information (or simply โAbout Phoneโ depending on the shell version). At the bottom of the screen, next to the Android and MIUI version, you can find a โBatteryโ or battery icon. When you press it, the system will show the current temperature, the number of full charging cycles and approximate status (for example, โNormalโ or โReplacement requiredโ).
But this method has its limitations: it only shows the overall score, not the exact capacity in mAh. In addition, the system algorithms can update the state data not instantly, but after several calibration cycles. If the system says "Good state" but the phone turns off by 20%, you should trust only real discharge tests.
๐ก
To accurately calibrate the system, discharge the phone to zero, then charge it to 100 percent off, and hold it for another hour, which will help the power controller adjust the data.
Use of monitoring applications
When built-in tools are scarce, third-party apps from the Google Play Store come to the rescue, and AccuBattery is already the leader in this field, not only reading data, but also calculating real-time battery capacity by analyzing charging and discharging rates, and the more cycles you spend with the app on, the more accurate the data will be.
Other useful utilities, such as Ampere or Battery HD, allow you to control the charging and discharging current, which helps to identify โvoraciousโ applications. However, it is worth remembering that without root rights, no application can access the physical sensors of the battery controller directly. All data is taken from the system API, which can provide average information.
When using these programs, pay attention to the "Battery Health" chart: If after a month of use, the indicator is less than 80% of the passport capacity, this is a signal to action. The applications also allow you to set up audible notifications when you complete charging, which prolongs the life of the battery, preventing overcharging.
| Annex | Root is required. | Substantive function | Accuracy of data |
|---|---|---|---|
| AccuBattery | No. | Calculation of real capacity | High (after calibration) |
| Ampere | No. | Current monitoring | Medium |
| Battery Charge Limit | Yes. | Charge limitation | High (governance) |
| CPU-Z | No. | Iron information | Basic |
Diagnostics through ADB and computer
For advanced users who want to get the most accurate data without installing unnecessary applications on the phone, the method of using debugging is ideal. USB (ADB). This way you can read data directly from Android system files. You'll need a computer, USB-cable and installed drivers ADB.
First, activate Developer Mode. Go to Settings โ About Phone and quickly click on MIUI build number 7 times. Then go to Advanced Settings โ For Developers and turn on โDebugging USB.โ Connect your smartphone to your PC and start the command line in the ADB folder.
adb shell dumpsys batterystats | moreThis command will output a detailed log of battery statistics, look for current capacity and design capacity, dividing the former by the latter and multiplying by the latter. 100, You'll get the exact percentage of battery health at the moment. /sys/class/power_supply/battery/capacity to obtain current interest.
โ๏ธ Preparation for diagnosis through ADB
External signs of battery wear
You don't always need digital data to know that a battery is dying. Physical signs are often more telling than any test. The first alarm is that the battery is bloating. If the back of the smartphone starts to move or the screen is pushed out of frame, it becomes dangerous to use such a device. Battery bloating occurs because of the buildup of gases inside the cell and requires immediate replacement to avoid fire.
The second sign is unstable operation at low charge, if the phone suddenly turns off at 20-30% charge or "jumps" from 15% immediately to 5%, this indicates that the voltage under load falls below a critical threshold, the power controller perceives this as an empty battery and emergency shuts down the device.
โ ๏ธ Note: If you notice that the phone is very warm even in standby mode or under light load (browser, messengers), this may indicate an internal short circuit in the battery cells.
If your Xiaomi used to charge in 1 hour, and now it takes 3-4 hours to 100%, then the internal resistance of the battery has increased and it can no longer take current at the same speed, this is a sure sign of chemical aging.