How to find out the capacity of the battery on Xiaomi: real numbers

Modern Xiaomi, Redmi and POCO smartphones are famous for their autonomy, but over time, even the most reliable battery begins to degrade. Users often notice that the device discharges faster than in the first months after purchase, or turns off at 15-20% charge.

Understanding the current state of the grid is critical to diagnosing autonomy problems. Android standard tools often hide precise technical parameters by showing only the percentage of charge. To get reliable information about the health of the battery, you need to use specialized diagnostic methods available in the shell of MIUI and HyperOS.

In this article, we will discuss all available methods of verification: from simple USSD-You'll learn to distinguish between software calibration errors and real cell wear, and this will help you make an informed decision about whether to replace or software optimize.

Checking through the engineering menu and USSD-code

The fastest way to access hidden diagnostic data is to use an engineering menu, which is built deep into Xiaomi devices, and allows you to see not only the current charge, but also the number of recharge cycles. To enter the diagnostic menu, you need to open a standard phone dialer.

Enter the combination ##6485##. If the menu opens, you will see a table with different parameters. We are interested in rows containing capacity information. Note that the set of display data may differ on different versions of MIUI.

  • πŸ“± MB_06 β€” Current battery level as a percentage.
  • πŸ”‹ MB_00 β€” total percentage of charge (duplicates) MB_06 version).
  • ⚑ MF_02 β€” Number of full charge cycles (Cycle Count).
  • πŸ“‰ MF_05 β€” Residual battery capacity (Current Battery Capacity).
  • 🏭 MF_06 β€” Battery design (Design Battery Capacity).

If there is no parameter on the list MF_05, So your firmware version is hiding this data. MF_06 It will only show factory performance, not current status, and don't rely on interest alone, as it may be calibrated incorrectly after a system update.

⚠️ Warning: Never change the values in the engineering menu unless you are sure of your actions. Inputting the wrong parameters can lead to incorrect operation of the power controller and errors in the indication of charge.

πŸ“Š What is the current percentage of battery wear according to the data MF_05?
Less than 10% (Great)
10-20% (Norma)
20-30% (It’s time to think about it)
Over 30% (Critical)

Use the Mi Hardware Test (CIT) application

The built-in hardware testing app provides a more structured interface than raw engineering menu data, available on all Xiaomi smartphones and often used in authorized service centers for initial diagnostics, and can be launched in two ways.

The first is through the About menu. Click the Kernel Version box several times in a row. The second is to type in the code ##64663## or ##6484## in the call. After you run, select Battery indicator or Battery Life Test.

This shows more detailed statistics, including millivolt voltage and temperature, but the most important thing is that you can run an automatic discharge test, and the system will simulate the load and check the voltmeter readings against the actual energy consumption, which helps to identify the sudden surges of voltage that are characteristic of degraded cells.

What happens if the CIT does not open?
If the app doesn't run, it may be removed or hidden in your firmware version (often on Global ROM).Try installing Xiaomi.eu or using third-party utilities to access ADB.

Test results in CIT are often more accurate than standard monitoring, as they bypass some software filters of the OS. If the test shows that the battery does not hold the load, even if the percentage of charge is high, this is a signal that replacement is necessary.

Analysis of statistics through ADB and computer

For the most complete information, including usage history and exact capacity in mAh, it is best to use USB debugging.This method requires connecting the smartphone to a computer and installing ADB drivers. It allows you to read the batteryhistory.txt system file or request data directly from the controller.

First, activate Developer Mode. Go to Settings β†’ About Phone and press 7 times on MIUI Version. Then, in the advanced settings, enable USB Debugging. Connect your phone to your PC and enter a command to get battery status in the command line:

adb shell dumpsys battery

This command will give you the current status, but for cycle history and real capacity, it is better to use specialized scripts or simplified ADB commands if they are supported by your version of Android.

adb shell cat /sys/class/power_supply/battery/capacity

However, the most informative way through ADB is to use third-party utilities that read data from system logs. Computer diagnostics allows you to see the temperature peaks that could damage the battery and compare them with the time of use.

β˜‘οΈ Preparation for ADB-diagnostics

Done: 0 / 5

Third-party applications for accurate diagnosis

If you don't want to mess with codes and computers, Google Play apps come to the rescue, and they use system APIs to collect data about the battery, but remember, without root rights, they only see what the system allows them to show.

One of the most popular and reliable tools is AccuBattery, which is unique in its measurement method: the app does not just read the controller’s data, but calculates the real capacity by measuring the amount of energy taken by the battery during charging from the moment the screen is turned on to 100%.

  • πŸ“Š AccuBattery is the best choice for health scores (Health) in percentage.It requires multiple charging cycles to calibrate.
  • πŸ”‹ Battery Charge Limit – More for charging control, but shows precise voltage and temperature.
  • πŸ“± CPU-Z β€” Battery section shows the nominal capacity and current status taken from the system.

AccuBattery needs to run the smartphone through 3-5 full charge-discharge cycles to get accurate data, and then the app can compare the declared capacity with the actual accumulated capacity, and if the battery is less than 80% healthy, this is considered critical wear.

πŸ’‘

For maximum measurement accuracy in third-party apps, turn off fast charging in settings if such an option is available and charge your phone off or in flight mode.

Comparison of nominal and real capacity

Once you get the capacity data, it's important to interpret it correctly. Design Capacity is the value that an engineer put in the design. Current Capacity is how much energy a battery can store right now, and the difference between that is wear and tear.

Below is a table that helps to assess the state of the battery depending on the percentage of residual capacity relative to the factory:

Residual receptacleStatus.Recommendation
90-100%Excellent.Continue to operate normally
80-89%Good.Norm for devices older than 1 year
70-79%SatisfactorySignificantly reduced work time, it is worth thinking about replacing
Less than 70%CriticalReplacement of the battery to avoid bloating is recommended

It is worth considering that the lithium-polymer batteries used in Xiaomi begin to lose properties immediately after production. 10-15% So if you see a sharper drop, it's possible that the device was operated in extreme conditions.

Factors Affecting Rapid Battery Wear

Why does the battery degrade? The main enemy is temperature. Overheating above 45 degrees Celsius irreversibly destroys the structure of the electrolyte. Often users themselves provoke overheating using heavy games or a navigator during fast charging.

The second factor is deep discharge, and if you regularly bring your smartphone to 0% and leave it off for a long time, the voltage on the cells drops below the critical level, and the controller can block charging, and it is also harmful to keep the charge at 100%, especially connected to the network.

⚠️ Warning: Battery bloating is not just a defect, it's a fire hazard. If the back of your smartphone starts to move away or the screen starts to squeeze out, stop using it immediately and dispose of the battery.

Use original or certified cables and power supplies. Cheap counterparts often don’t have proper voltage control, feeding a dirty current into the smartphone’s input, which increases the load on the power controller inside the phone and the battery itself.

πŸ’‘

The average life of a modern Li-Pol battery is 500-800 full charge cycles, which is equivalent to 2-3 years of active operation.

Questions and Answers (FAQ)

Why the Menu does not show the actual capacity (MF_05)?
Many global versions of MIUI and HyperOS hide this parameter for ease of interface or security reasons, in which case the only way to get accurate numbers is to use third-party applications like AccuBattery or ADB diagnostics.
Can the battery capacity be restored programmatically?
No, the physical wear of the chemical current source is irreversible. Software calibration (resetting battery statistics) can correct the wrong percentage mapping, but it won't add real milliamp hours. If the battery is worn out, only replacement will help.
Is it safe to use the engineering menu codes?
Viewing the data in the ##6485## menu is completely safe. The only danger is changing the parameters (if the menu allows you to enter), which can interfere with the calibration of the controller. Just look at the numbers, do not change anything.
How often should I check the battery status?
It's enough to have a diagnosis every 3-4 months, and it doesn't make sense to have a frequent check, because degradation is slow, but if you notice a sharp decline in autonomy in a couple of days, it's worth checking immediately.