Xiaomi smartphones are famous for their autonomy, but over time, even the best battery loses its capacity. Users often notice that the device begins to discharge faster, warms or turns off with a residual charge of 10-15%. Diagnostic battery is the first step to do before buying a new power supply or resetting the system.
Unlike some manufacturers, Xiaomi doesnβt display detailed battery health statistics in the standard settings menu, limiting itself to a simple percentage of charge. However, the MIUI and HyperOS shells contain powerful tools that allow you to look under the hood and find out the real state of the Li-Po cell. We will look at all the available methods, from simple codes to professional software.
Understanding the current level of degradation will help you extend the life of the gadget or replace consumables in time. Do not ignore the first signs of malfunction, as bloating or critical wear can damage other components of the board.
Use of the engineering menu and USSD-code
The fastest way to access hidden parameters of the system is using special combinations of characters. Xiaomi smartphones reserve code ##6485##. By entering it in the dialer, you will be taken to the information menu, which displays technical data about the battery.
The interface of this menu may vary depending on the Android version and shell. You don't have to look for complicated ways in the settings, just dial numbers. Note that on some global firmware versions, this code can be blocked by the operator or manufacturer, but in most cases it works without restrictions.
In the list that opens, look for the following parameters that are critical:
- π MB_06 β The battery is healthy (good, bad or a specific percentage).
- π MB_00 β The current percentage of battery charge.
- π MF_02 β Number of full recharge cycles (Cycle Count).
- π MF_05 β current battery voltage in millivolts.
Parameter MB_06 If it says "Good," it means that the chemistry of the element is fine, "85", This means that the current capacity is 85% Recharging cycles from the factory (MF_02) Also important: after 500 In cycles, the loss of capacity becomes noticeable to the user.
β οΈ Warning: Do not try to change the values in the engineering menu if you can. This article describes only diagnostic methods. Interference with system parameters can lead to malfunctioning of the power controller.
It is worth noting that on the new versions MIUI 14 And HyperOS, some fields can be hidden or replaced with lettering, and you should pay attention to the field. bat_temp, It's a temperature that goes above the temperature. 45 Degrees in simple, it's an alarm bell.
Analysis through CIT's hidden test menu
Another powerful tool built into Xiaomiβs firmware is the Customer Integration Test (CIT) menu, which is designed for factory testing of the device, but is also available to ordinary users, and can be logged in via the code # #64663## or through the settings menu.
To get into the battery testing section through settings, go to Settings β About Phone β Kernel Version. After a few quick clicks on Kernel Version, the test list will open. Find Battery or Power.
In this section you can see:
- π Battery connection status.
- π‘οΈ Current temperature in real time.
- β‘ Voltage and charge level.
- π Status information (Status).
And you can often run an automatic test here to see if the battery is holding load, and the system will simulate discharge or charge by tracking the behavior of the controller, and it's a great way to detect sudden power surges that you don't see in normal use.
If the CIT test labels the battery as Unknown or Bad, it often indicates a software controller failure or a physical plume failure, and sometimes reconnecting the battery helps, but this requires disassembling the device.
What do I do if the codes don't work?
Software Methods: Applications for Diagnostics
When there's not enough built-in tools, third-party apps come to the rescue, and they read data from the system file. battery_history And they're delivered in a convenient way. AccuBattery is the most popular and reliable solution.
The way these apps work is by monitoring the charging process, and to get accurate data, you have to completely discharge the phone before you turn it off, and then charge it to 100 percent with the screen off, and the app calculates the actual capacity that went through the controller.
Popular applications for analysis:
- π± AccuBattery β shows estimation of capacity in mAh and percentage of health.
- π οΈ CPU-Z β Battery tab gives detailed technical information.
- π AIDA64 β comprehensive analysis of all sensors of the smartphone.
It's important to understand that applications don't have direct access to the chemical composition of the battery. They do calculations based on voltage and current. 5-10%. However, to track the dynamics of degradation over time, this is quite enough.
If you install an app like this, you can see how many milliamp hours actually flow into the battery, and if the declared capacity is 5,000 mAh, and the program shows 3,500 mAh after full charging, then the wear and tear is about 30%.
β οΈ Warning: Don't trust applications that promise to "restore" or "calibrate" the battery in a software-based way. The chemical wear of the lithium polymer cell is irreversible.
To get the correct statistics in AccuBattery, it is recommended to use the device as usual for 3-5 days, only after accumulating a sufficient number of cycles, the program will give a reliable percentage of health.
π‘
For the most accurate readings in diagnostic applications, turn off fast charging if possible, or use a conventional 5V/2A charger. Fast protocols can make errors in current measurements over short periods of time.
Diagnostics through computer and ADB
For advanced users who are not afraid of the command line, there is a method of checking through Android Debug Bridge (ADB). This is a way of pulling raw data out of system logs that the average user can't see, USB-cable and installed drivers ADB.
First, activate the developer mode. Go to Settings β About Phone and 7 times click on MIUI Version. Then in the advanced settings, turn on "Debugging on USB." Connect your smartphone to your computer and type in the command:
adb shell dumpsys batteryThis command will give you your current battery status, charge level, and health status if the controller transmits this data to Android, but you can get more detailed information through the command:
adb shell dumpsys batterystats --chargedThe good thing about this method is that it shows how the system sees the battery at a low level. If there are BatteryStatus: Unknown errors or sudden power surges in the logcat logs, it will be visible in the logcat log.
You can also use Googleβs Battery Historian utility, which visualizes data obtained through ADB. This allows you to see the discharge graph and understand which applications or processes are causing rapid energy consumption, which indirectly indicates capacity problems.
Using ADB is especially useful when the phoneβs screen is down but the system is booting up.You can connect to the device and read battery settings remotely without relying on a visual interface.
Visual and physical check of the battery
Software methods don't always give a complete picture. Sometimes the wear is only visible on physical inspection. If your Xiaomi has started to turn off spontaneously in the cold or the case has ballooned, software diagnostics may no longer be necessary.
The main signs of physical wear or damage:
- π Bloating β the back cover or screen starts to move away from the frame.
- π‘οΈ Heat - the lower part of the body is strongly warmed even with light load.
- π Voltage drop β the phone turns off when 20-30% charge.
To test the battery visually, you have to remove the back cover. On models with glass back panels, this requires heating with a hair dryer and neat opening. On models with plastic cover, the process is simpler. Look for bloating, contact oxidation or plume damage.
If the battery is swelling, it is strictly forbidden to operate, and the pressure on the display can cause it to rupture, and damage to the battery shell can cause it to ignite, in which case an immediate replacement is necessary.
Also, look at contacts. Oxidation can cause false charge readings. Rubbing contacts with alcohol sometimes solves the problem of the "jumping" percentage.
βοΈ Signs of urgent replacement of the AKB
Comparative table of verification methods
To make it easier for you to choose the right diagnostic method, we have organized the data into a table, each method has its advantages and limitations depending on your situation.
| Method | precision | Difficulty | Equipment required |
|---|---|---|---|
| Engineering code (##6485##) | High (controller data) | Low. | Only a smartphone. |
| Annexes (AccuBattery) | Medium (calculated) | Low. | Smartphone, time (3-5 days) |
| ADB Teams | High (system logs) | Tall. | PC, cable, drivers |
| Visual examination | 100% (for physical defects) | High (disassembly) | Tools, skills |
As you can see from the chart, codes are the best for quick checks, applications are the best for deep analysis of battery behavior over time, and only physical inspections are the best for critical faults.
You don't have to rely on just one source of information. The combination of methods gives the most objective picture. For example, the code shows "Good," but the phone turns off by 30 percent, which means that the controller is in good working order, but the battery cells have degraded unevenly, and you need to replace.
π‘
The most reliable result is a combination of engineering menu data (for cycles and voltage) and long-term monitoring through the application (for real capacity).
Frequently Asked Questions (FAQ)
Why is the health percentage not displayed in the engineering menu?
How many cycles can Xiaomi battery withstand?
Does fast charging affect battery wear?
Can the battery be calibrated programmatically?
What does the Battery Temperature 10 error mean in ADB?
Should I change the battery myself?
To sum up, regular battery checks help avoid the unpleasant surprises of a sudden shutdown, use quick check codes and long-term surveillance apps. If your health has dropped below 70-75%, consider buying a new battery to restore your smartphone to its old autonomy.