How to check the battery on Xiaomi: hidden tests and diagnostics

Modern Xiaomi smartphones have powerful characteristics, but it is autonomy that often becomes a critical factor when choosing a device. Over time, any lithium-ion battery degrades, losing its original capacity, which leads to rapid discharge and unexpected shutdowns. Testing the battery on Xiaomi is not just a way to find out the percentage of wear, but a necessary procedure to understand the real state of your gadget.

Unlike many competitors, the MIUI operating system and the new HyperOS provide users with advanced self-diagnostic tools that are hidden from the eyes of the average owner. These tools allow you to access technical information that manufacturers often hide in the back of system logs. Using embedded codes and engineering menus, you can get accurate data about charging cycles and current voltage.

In this guide, we will take a look at all available methods for analyzing the state of the power unit, learn how to interpret the values obtained and understand when it is time to think about replacing the power cell or its software calibration.

⚠️ Warning: Using the engineering menu requires caution. Changing settings you're not sure about can cause your smartphone to malfunction.

Built-in diagnostics through CIT engineering menu

The most reliable and secure way to access the technical data about the battery is using a special CIT mode (Customer Interactive Testing), which is designed for factory testers, but is available to every user. To enter the diagnostic menu, you need to open the standard Phone application and type in the secret code # # # # # #6484##.

Once you enter the last digit, the screen automatically switches to the test interface, and here's a long list of checks for all components, from the screen sensor to the GPS module. We're interested in a item called Battery or Battery, and if you click on it, you'll see detailed statistics in real time.

This window displays key parameters like current charge level, voltage, temperature and, most importantly, the number of charging cycles. The charging cycle is the complete process of discharging from 100% to 0% and then recovering, and the number of cycles is the main indicator of the physical wear and tear of a lithium cell.

  • πŸ”‹ Voltage – current battery voltage that should rise when charging.
  • 🌑️ Temperature - element temperature, critical heating above 45Β°C.
  • πŸ”„ Cycle Count – the number of complete recharge cycles since assembly.
  • πŸ“‰ Status – Current status (Charging, Discharging, Full).

⚠️ Warning: If the battery temperature in idle mode exceeds 35-40 degrees, this may indicate a faulty controller or background process that eats up resources.

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

β˜‘οΈ Checking in CIT menu

Done: 0 / 5

Analysis of #4636## and battery status

Another powerful tool in the Xiaomi owner’s arsenal is the Android test menu, called by the code ##4636## in the dialer, which, unlike CIT, looks more technical and dry, but contains invaluable information about the operation of the power system.

When you go to Battery Information, you will see a table of data, which shows the scale, which is usually 100, and the current level, but the most interesting parameter is Battery health, although many Xiaomi firmwares may display just β€œGood” without detailing in percentages.

It's important to pay attention to the Discharge reason parameter, which is that if the phone is running out of power, it can be a cause, like a screen or background activity, that helps identify the parasitic programs that are imperceptibly landing the battery.

Decryption of codes through ADB for advanced

For those who are not afraid of the command line and want to get the most accurate data that is not available in the GUI, there is a method of using Android Debug Bridge (ADB), which allows you to extract from the system β€œraw” data about capacity and wear, which are often hidden even in the engineering menu.

To start, you need to enable USB debugging in the Developer menu and connect your smartphone to your computer. Once you install the drivers and start the ADB console, you can run a command to get the full battery statistics.

adb shell dumpsys batterystats --charged

This command will give you a huge log, which you need to look for lines containing information about full charge and current capacity, and analyzing this data allows you to understand how many milliamp hours (mAh) actually β€œenter” the battery compared to the passport capacity.

It’s also useful to use the adb shell dumpsys battery command, which will show the current status in real time, which is a great way to check if the charge indicator on the screen is lying.

  • πŸ–₯️ Requires a PC and installed ADB driver.
  • πŸ”Œ You need to activate the debugging USB.
  • πŸ“ Data is displayed in text format and requires careful reading.

Software methods: third-party applications

If you don't want to mess with codes and command line, specialized applications from Google Play come to the rescue. AccuBattery has been the most popular and reliable tool for many years. This application does not just show the current charge, but measures the real capacity of the battery in the background.

The way these programs work is by counting the pendants (charge units) that pass through the battery during charging, and to get an accurate result, you need to run multiple charging cycles with the application installed, and the system usually asks you to charge the phone from 15% to 80% several times.

Once you've collected the statistics, the app will show "Design Capacity" and compare it to "Design Capacity," and the difference between those values is your wear and tear. If the design capacity is 4,000 mAh and the design capacity is 3200 mAh, then the wear and tear is 20%.

ParameterNormal value.Critical significance
Wear (Health)85-100%Less than 70%
Temperature.25-35Β°CAbove 45Β°C.
Charging cycles0-500More than 800.
The tension of peace3.7-3.8 IncludedBelow 3.4 B

Visual Diagnostics and External Signs

Software is good, but the physical state of the battery is also a big part of it, and lithium polymer batteries tend to bloat when you age or when you're in a bad place, and bloating is the most dangerous thing you can't ignore.

To test the battery visually, place your smartphone on a flat horizontal surface and try spinning it like a top. If the phone spins lightly and unstable, the back cover or screen is bulging out because of the bloated battery, the flat phone will lie tight and spin reluctantly.

And notice the screen, if it starts to move away from the body, if it starts to show yellow spots (especially in the center), or if it gets rainbow stains, it's a direct consequence of the pressure of the ballooning battery on the display matrix, and in such cases, the software calibration is useless.

⚠️ Warning: If you find bloating, immediately stop charging the device and do not attempt to pierce or compress the body.

Battery calibration: myths and reality

Often users confuse the physical wear of the battery with the desynchronization of the charge controller. If the phone shows 15% and suddenly turns off, or charges to 100% in 20 minutes, the calibration is likely to be lost, in which case the reset procedure helps.

To perform the calibration on Xiaomi, you need to completely discharge the device before turning it off. Then, without turning it on, put it on the charge with the original cable and wait until the indicator shows 100%. After that, you can turn on the phone. If the charge has dropped, reconnect the charge without turning it off until the scale stabilizes.

This procedure helps the controller to re-remember the limits of minimum and maximum charge, but it is worth noting that if the physical capacity of the battery has fallen, the calibration will not return the lost milliamp hours, it will only make the display of percentage more honest.

  • πŸ”‹ Discharge the phone until it is completely turned off (0%).
  • ⚑ Charge to 100% in the off state.
  • πŸ”„ Repeat the cycle 1-2 time-consolidation.

Frequently Asked Questions (FAQ)

How to find out the exact percentage of battery wear in percentage?
The most accurate way to install the AccuBattery app and use your phone for a few days to collect statistics, and the alternative is to analyze logs through ADB, but it requires technical skills.
Why does the phone run out of power after a MIUI update?
After a major update, the system re-indexes files and optimizes applications in the background. This can last from 2 to 5 days. If the problem persists longer, try resetting applications or performing a full reset (Wipe Data).
Is it safe to keep your phone on charge all the time?
Xiaomi’s current power controllers can stop a charge when it reaches 100%, but staying at 100% charge and heat for long periods (such as during games) accelerates the degradation of battery chemistry, and it is recommended to keep the charge in the range of 20-80%.
What if the CIT menu shows 0 cycles on an old phone?
This could mean that the battery has been changed to a non-original battery or that the controller has been reflashed, and this also happens after a deep discharge, when the controller resets the statistics, and focus on the actual operating time of the device.