Brand smartphones Xiaomi are famous for their autonomy, but even the most capacious battery is subject to natural wear and tear over time. Many users notice that the device begins to discharge faster or suddenly turns off when the charge reading is 15-20%. This is a sure sign that the resource lithium-ion cell is coming to an end or the system requires calibration.

Unlike iOS, where the battery status is displayed in a clear percentage in the settings, in the shell MIUI or HyperOS this information is often hidden from the eyes of the average user. However, there are proven ways to find out the real capacity and number of recharge cycles without having to disassemble the case.

In this article we will analyze in detail all available methods: from using hidden engineering codes and third-party utilities to analyzing system logs through a computer. You will learn to distinguish a software failure from physical degradation of the chemical composition of the battery.

Using the engineering menu for quick diagnostics

The fastest way to access service information about the hardware of your device is to enter a special USSD code. The engineering menu MIUI contains a testing section where the current operating parameters of the main components are displayed.

Open the "Phone" application and dial the combination ##6485##. A list of parameters with technical symbols will instantly appear on the screen. Don't be intimidated by the abundance of numbers - we only need a few specific lines that are responsible for the health of energy consumption.

Pay attention to the following indicators that may be displayed in the list:

  • ๐Ÿ”‹ MB_06 โ€” current battery status (usually displayed as "Good" or "Okay").
  • โšก MB_00 โ€”current percentage of battery charge.
  • ๐Ÿ“‰ MF_02 โ€”the number of complete discharge and charge cycles.
  • ๐Ÿญ MF_05 โ€”the estimated residual capacity of the battery in mAh.

โš ๏ธ Attention: On new firmware versions HyperOS and fresh builds MIUI 14 some fields (for example, MF_05) may be hidden developers. If you see dashes instead of numbers, use alternative methods from the following sections.

It is worth remembering that the engineering menu shows โ€œrawโ€ data from the power controller. If the value MF_02 exceeds 500-800 cycles, you should think about replacing the element quickly, since after this threshold the capacity drops below 80% of the nominal value.

๐Ÿ“Š How old is your Xiaomi smartphone?
Less than a year
1-2 years
2-3 years
More than 3 years

Battery analysis through third-party applications

When built-in tools do not provide a complete picture, specialized utilities from the store come to the rescue Google Play. They read data from system files and provide them in an easy-to-read form, automatically calculating the percentage of wear.

The application is considered one of the most accurate tools. AccuBattery. It not only reads static data, but also monitors in real time, comparing the capacity declared by the manufacturer with that actually gained during charging.

To obtain accurate data, you need to do a little preparation:

  • ๐Ÿ“ฒ Install the application and grant it all the requested permissions.
  • ๐Ÿ”Œ Perform at least one full charge cycle from 15% to 100% with the screen on.
  • ๐Ÿ“Š Check the "Health" tab after several days of use.

Other popular apps such as CPU-Z or Ampere, also allow you to look at voltage and temperature. A high temperature during idle time (above 35-40 degrees) may indirectly indicate problems with the controller or an internal short circuit in the battery bank.

๐Ÿ’ก

For maximum accuracy of measurements in AccuBattery, disable fast charging in the battery settings for the duration of the test, since voltage surges can distort capacity calculations.

Checking via ADB and system logs

For advanced users who do not trust third-party applications, there is the most reliable method - reading the battery system log directly through the computer. This method requires a PC and USB debugging enabled.

First you need to activate developer mode. Go to Settings โ†’ About phone and quickly click 7 times on the "MIUI Version" item. After this, the โ€œFor Developersโ€ section will appear in the advanced settings, where you need to activate the toggle switch USB debugging.

Connect the smartphone to the computer with a cable and open the command line (terminal) with the installed tool ADB. Enter the following command to display information about the battery:

adb shell dumpsys battery

In the resulting report, look for the lines level (charge level), scale (maximum level) and status. More in-depth health information can be obtained by querying the file battery_history.txt or using commands to read files from the directory /sys/class/power_supply/battery/.

How to read the capacity file directly?

Use the command `adb shell cat /sys/class/power_supply/battery/capacity` to get the current level, or look for files called `charge_full` and `charge_full_design` to compare real and factory capacity.

Table of main indicators of battery condition

To make it easier for you to navigate the numbers that you will receive during diagnostics, we have compiled a summary table. It will help you interpret data from the engineering menu or applications and understand how critical the condition of your device is.

Parameter Normal value Critical value What does it mean
Charge cycles (MF_02) 0 - 400 More than 800 Number of complete discharges. After 800, the capacity drops to 70-80%.
Status (MB_06) Good Bad / Overheat General assessment by the controller. "Bad" requires replacement.
Temperature 25ยฐC - 35ยฐC Above 45ยฐC Overheating accelerates the degradation of battery chemistry.
Voltage 3.7V - 4.2V Below 3.4V Low voltage at rest indicates a deep discharge.

If you see the value Overheat or Coldin the status column, this may indicate a malfunction temperature sensor built into the battery pack, and not for real overheating.

Battery calibration in case of incorrect readings

Sometimes the physical condition of the battery is quite satisfactory, but the smartphone behaves strangely: it turns off by 30% or the charge โ€œsticksโ€ at 99% for hours. This is a problem with the software controller, which does not calibrate the percentage scale correctly.

To correct the situation, it is recommended to perform a full calibration. This process helps the system redefine the minimum and maximum charge limits. The algorithm of actions is simple, but it requires time and patience from the owner.

The procedure is as follows:

  1. Discharge the smartphone until it turns off completely (0%).
  2. Try to turn it on again; if it shows the logo and turns off, continue discharging.
  3. Connect the original charger and charge up to 100% without interrupting the process.
  4. After reaching 100%, keep charging for another 1-2 hours.

โš ๏ธ Attention: Do not perform the full discharge procedure to zero too often (more than once every 2-3 months). Deep discharge is harmful for modern Li-Pol batteries and can lead to irreversible damage.

โ˜‘๏ธ Checklist for correct calibration

Completed: 0 / 4

Signs of physical wear and need for replacement

Even if software tests show acceptable numbers, physical wear and tear may manifest itself differently. The chemical processes inside the battery are irreversible, and over time the internal resistance increases, which leads to voltage drops under load.

The most obvious and dangerous sign of battery death is its swelling. If the back cover of the smartphone begins to come off, the screen bends, or the device does not stand well on a flat surface, it is strictly prohibited to use it.

It is also worth considering a replacement in the following cases:

  • ๐Ÿ“‰ The smartphone turns off when the charge is above 20% in the cold or under load.
  • ๐Ÿข The device charges unnaturally quickly (for example, from 0 to 100% in 30 minutes on a model without ultra-fast charging).
  • ๐Ÿ”ฅ The phone body gets noticeably warm in the upper part even in standby mode.

For replacement, it is recommended to use original spare parts or high-quality analogues from trusted brands like Nohon or Deji. Cheap, no-name batteries often have an overestimated capacity and can cause a fire.

๐Ÿ’ก

A swollen battery creates pressure on the screen matrix and board, which can lead to costly repairs to the display or motherboard if it is not replaced in time.

Why does the engineering code ##6485## not work on my Xiaomi?

On some global firmware versions or after updating to HyperOS access to certain fields of this menu may be limited programmatically. Try entering the code ##4636## โ€”this is an alternative testing menu, although it contains less data specifically about the battery.

Is it possible to restore the capacity of an old battery programmatically?

No, this is a myth. Software calibration only corrects the display of percentages on the screen, but cannot restore the chemical composition or physical structure of a worn-out battery. If the capacity has really dropped, only replacement will help.

How often should you check the condition of the battery?

It is enough to carry out diagnostics once every 3-6 months. Frequent testing through deep discharge or heavy utilities itself creates an extra load on the power controller and charge cycles.

Does fast charging affect the rate of degradation?

Yes, high currents and heating during fast charging accelerate the wear of battery chemistry compared to slow charging with low currents. However, modern controllers Xiaomi are able to optimize this process, reducing the current when heating.

What does the โ€œBattery temperature is too highโ€ error mean?

This is a protective mechanism of the system. If the sensor detects a temperature above 45-50 degrees, charging is blocked to avoid an explosion or fire. Let the phone cool in the shade before reconnecting to the network.