How to view the battery on Xiaomi: hidden code and settings

Xiaomi, Redmi and Poco are famous for their autonomy, but over time, even the most capacious battery begins to lose its original capacity. Users often wonder how to accurately know the state of the power system of their device without relying only on subjective sensations from the time of operation. The standard interface of the shell MIUI or HyperOS does not always provide exhaustive information about the actual wear of the battery.

In this article, we will take a look at all the diagnostic methods available, from simple menu settings to hidden engineering codes to system log analysis. You will learn how to determine the number of recharge cycles, the current temperature of cells and the percentage of degradation. Accurate diagnosis will help you to understand whether it is time to think about replacing the battery or adjust the power consumption settings enough.

It's important to understand that lithium-ion batteries are consumables that wear out physically during operation. Chemical reactions inside the cell are irreversible, and over time internal resistance increases and capacity drops. Knowing the actual state of the battery avoids sudden phone shutdowns when charged at 20-30% and planning maintenance of the device in advance.

Checking the status through standard system settings

The easiest and safest way to get the basic information about the battery is to go to the standard settings menu. In the latest versions of MIUI 12/13/14 and HyperOS, developers have significantly expanded the functionality of this section, and you won't see the exact percentage of wear and tear here, but you can evaluate the overall usage statistics and identify the applications that consume the most energy.

To access the data, you need to go to Settings β†’ Battery. At the top of the screen, you can see the current percentage of charge and the approximate time to fully discharge or charge. If you click on the gear icon or the Statistical button, you will see a detailed report. Pay attention to the discharge graph: sharp jumps down may indicate a controller calibration or a malfunction of the cell itself.

The optimization feature is often available in this section, and it analyzes user behavior and background processes, suggesting that heavy applications be limited. While this does not provide technical data on battery health (Health), it is the first step in diagnosing autonomy problems. Other tools will be needed to analyze it more deeply.

πŸ’‘

Use the "Energy Saving" mode at night or when the charge is critically low to extend the battery life and avoid deep discharge.

Using Hidden Engineering Codes for Diagnostics

One of the most effective methods to look under the hood of the Android operating system is the introduction of special USSD-These codes give you access to an engineering menu designed to test equipment in a factory or service center. On Xiaomi devices, the most useful is the code to check battery status.

To use this method, open the Phone app and enter the combination ##6485##. Immediately after entering the last digit, the Battery Info window will open. There are many parameters here, but for the average user, only a few key metrics are important, which we will discuss below.

  • πŸ”‹ MB_06 β€” displays battery status in text format (usually "Good"), which indicates the absence of critical controller errors.
  • πŸ“‰ MB_00 β€” current charge level in percentage, which may differ from what the interface shows.
  • πŸ”’ MB_01 β€” Battery voltage in millivolts, an important parameter for evaluating power stability.
  • 🌑️ MB_02 β€” current battery temperature, excess of normal (usually higher) 45Β°C) indicates overheating.

⚠️ Warning: Do not change the values in the engineering menu unless you know exactly what the parameter is responsible for. Inputting incorrect data can lead to malfunctioning of communication modules or power system.

It is worth noting that some new HyperOS shell models or regional firmware versions (Global ROMs) may restrict access to advanced data through this code, in which case the system will show only a basic percentage of charge, this is done for security and simplifying the interface for the mass user.

πŸ“Š What is the percentage of battery wear on Xiaomi?
Less than 10% (New)
10-20% (normal wear and tear)
20-30% (Spotted)
Over 30% (Time to Change)
I don't know, I haven't.

Battery Health parameter decoding and charge cycles

In the engineering menu available by code ##6485##, You can find parameters that are very physical, but they depend on the processor model and the Android version. MF_02 (sometimes MF_05), This shows the number of complete recharge cycles that have passed since production.

The charge cycle is the process of discharging a battery to 100% of its capacity. This does not necessarily have to happen at a time: two discharges of 50% are also considered a single cycle. Modern lithium-polymer batteries used in Xiaomi are designed for an average of 500-800 full cycles to lose 20% of the original capacity.

What is considered a normal number of cycles?
For a smartphone that is actively used for 2 years, the normal indicator is 400-600 cycles. If in 1 year the meter shows more than 800 cycles, it is possible that the battery controller is not working correctly or a poor-quality charger is used.

It is also worth paying attention to the parameter. MB_06. If it says "Good," it means the controller hasn't detected any critical abnormalities, but if you see "Bad," "Overheat," or "Overvoltage," it's a direct signal to replace the battery, and ignoring such warnings can cause the battery to bloat.

ParameterDescriptionNormal value.
MF_02Number of charge cycles0 - 500 (for 1-1.5 years)
MB_06Health statusGood
MB_02Temperature.25Β°C - 40Β°C
MB_01Tension.3700mV - 4400mV

Analyzing system files to accurately determine wear

For users who don't have enough data from the engineering menu, there's a deeper method, which is analyzing system log files. battery_health_data, It's a battery history that requires you to access it, or you need to use a special utility to access it. ADB (Android Debug Bridge).

If you have Root access (e.g., through Magisk), you can use a file manager with superuser rights (e.g., Root Explorer or Root Explorer). MT Manager. You need to cross the path. /data/misc/battery/. There will be a file, often called a file. battery_health_data or having the extension.txt/.log.

When you open this file with a text editor, you can find lines that contain information about Design Capacity and Current Capacity, and the difference between them will give you an exact percentage of wear, for example, if the factory capacity is 5000 mAh and the current 4000 mAh, wear is 20%.

β˜‘οΈ Check through ADB

Done: 0 / 4

Without Root rights, you can try to get some of this information through your computer by connecting your phone in debugging mode and typing a command in the terminal:

adb shell dumpsys batterystats | findstr"level\|status\|health"

However, this method often produces raw data that is difficult to interpret without special knowledge, so for most users, specialized applications from Google Play that can read these logs automatically remain the best option.

Third-party applications for battery monitoring

Google Play offers a variety of applications that take the trouble of decrypting system logs and providing information in a convenient way, and the leader in this niche is already the CPU-Z app or specialized AccuBattery. They do not require Root rights for basic diagnostics.

AccuBattery works on the principle of accumulation of statistics. It will not show exact wear immediately after installation. It needs to work in the background for several days (usually 3-5 charging cycles) to calculate the real capacity, comparing the number of injected milliamper hours with the change in percentage of charge.

  • πŸ“± CPU-Z β€” The battery displays the current state, voltage, temperature and battery technology in real time without long wait.
  • πŸ“Š AccuBattery is the best tool for measuring physical wear (Health) in percentage based on long-term statistics.
  • ⚑ Ampere – great for checking the quality of the charger and cable, showing the real strength of the charging and discharging current.

⚠️ Warning: Avoid β€œcleaner” and β€œaccelerator” apps with aggressive advertising, which often consume a lot of resources and do not provide accurate technical information, unlike specialized utilities.

Using these programs, you can keep a history of the battery status, you can see how quickly the battery degrades when using fast charging Xiaomi HyperCharge or frequent games, which will help to adjust the habits of using a smartphone to extend its life.

Factors affecting fast wear of Xiaomi battery

Understanding how to view a battery on Xiaomi is only half the battle, and it's more important to know what causes it to deteriorate rapidly to avoid repeating errors, and lithium polymer cells are extremely sensitive to temperature and depth.

The main enemy is heat. Using a smartphone while charging, especially fast, heats the body and internal components; staying at temperatures above 40-45Β°C irreversibly destroys the electrolyte structure; also, a deep discharge of 0% and keeping the device completely discharged are harmful.

πŸ’‘

The optimal charge range for a long battery life is between 20% and 80%. Try not to keep your phone charging constantly and not to discharge it to zero regularly.

Another factor is the use of non-original or cheap chargers that do not support Power Delivery or Quick Charge protocols correctly.Power surges can damage the power controller inside the smartphone itself, leading to incorrect display of charge percentage and accelerated wear.

Frequently Asked Questions (FAQ)

Is it true that the #6485## code shows the exact percentage of wear and tear?
Not always. On many modern Xiaomi models, this code only shows the status of "Good" and the number of cycles. The exact percentage of wear (Health) is often hidden by the manufacturer and is calculated only by third-party applications based on statistics.
How many cycles can Xiaomi battery withstand?
The standard resource is 500 full cycles, after which the capacity drops to 80% of the original. When used carefully (without overheating and deep discharges), the battery can last 2-3 years until a noticeable loss of autonomy.
Will calibration of the battery help restore its capacity?
Calibration (0% discharge and 100% charge when off) only helps the controller recalibrate the display of percentages on the screen. Physically, it does not restore the chemical capacity of the worn battery.
Why does the phone turn off at 15-20% charge?
This is a sign of a severe battery degradation, and the voltage on the cells drops too quickly under load, and the power controller emergencyly shuts down the device to avoid data damage, in which case a battery replacement is required.