How to find out the battery status on Xiaomi: hidden codes, ADB and applications

Modern smartphones Xiaomi and Redmi are famous for their autonomy, but over time, any lithium-ion battery degrades. Users often notice that the device begins to discharge faster, warms up or suddenly turns off with a charge balance of 10-15%.

In this article, we will discuss all available methods of diagnosis, from simple USSD-codes to advanced methods through ADB-You'll learn to distinguish software failures from physical wear and tear, and you'll know when it's time to think about replacing a battery. MIUI HyperOS.

Understanding the current state of the battery is not just curiosity, it is a necessity to extend the life of the gadget. Ignoring the signs of degradation can lead to bloating of the battery, which is dangerous for the device itself.

Checking through the engineering menu and codes

The fastest way to access hidden diagnostics is to use special diagnostics. USSD-They allow you to enter the engineering menu, which displays the technical parameters in real time. MIUI Some codes may be blocked by developers.

To start the diagnosis, open the Phone app and dial ##6485##. If the menu opens, you'll see a table with a lot of parameters. We're interested in specific lines that will tell you about battery health. Older versions of firmware showed full information here, but now the data is often hidden or limited.

⚠️ Warning: Do not change the values in the engineering menu unless you are sure of your actions. This can lead to improper charging system or calibration of sensors.

In the window that opens, pay attention to the following parameters:

  • πŸ“Š MB_06 β€” Shows the state of the battery (Good, Bad, Overheat).
  • πŸ”‹ MB_00 β€” current charge level as a percentage.
  • ⚑ MF_02 β€” Number of full charging cycles (not available on all models).
  • 🌑️ MF_05 β€” current-temperature.

If the code is not working or it is not working, try the alternative ##4636## that leads to the test menu, and select Battery Information, which is less detailed, but you can get basic information about the status of the SoC.

What do I do if the codes don't work?
On current global versions of MIUI 12-14, the engineering menu is often closed, so use third-party applications or the ADB method described below.

Using AIDA64 for detailed diagnostics

When the built-in tools don't give you the full picture, specialized tools come to the rescue, and AIDA64 is considered one of the most reliable tools, a cross-platform application that reads data directly from the power controller, providing the most accurate information.

Once you install the application, run a system scan. You're interested in Battery. Here you'll find information about chemical composition, voltage and, most importantly, design capacity. The program compares the design capacity to the current one, calculating the percentage of wear.

Key indicators to look at in AIDA64:

  • πŸ“‰ Health – battery health percentage (100% – ideal state).
  • βš–οΈ Voltage – voltage that should not jump much at rest.
  • 🌑️ Temperature - Critical parameter exceeding 45Β°C is harmful.
  • πŸ”Œ Power Source: Power Source (AC, USB, Wireless).

It's important to understand that software methods can have a margin of error: Android algorithms don't always read data from the controller correctly, especially if the smartphone firmware has deep modifications, so these applications should be taken as indicative, not absolute truth.

πŸ’‘

To get the most accurate data, diagnose with the screen turned off and background processes running. Let the smartphone lie down for 10-15 minutes before taking measurements.

Analysis by ADB: The most accurate method

For users who want to access raw data, the ideal solution is to use ADB (Android Debug Bridge), which requires connecting a smartphone to a computer, but gives access to the system file battery.properties, which stores the entire history and current state.

First, activate Developer Mode. Go to Settings β†’ About Phone and quickly press 7 times on MIUI Version. Then, in the advanced settings, turn on USB Debugging. Connect your phone to your PC and type in the command line:

adb shell dumpsys battery

This command will give you a long list of parameters: look for the lines level, scale, status, and health. The digital code in the health field stands for 1 unknown, 2 good, 3 overheating, 4 degradation, 5 overvoltage.

A more advanced way is to get logcats, where you can find the exact number of recharge cycles if the battery controller is running them.

adb logcat | grep -i battery

Using ADB avoids installing unnecessary applications that consume resources on their own, especially for older Redmi or Poco models, where every megabyte of RAM counts.

β˜‘οΈ Preparation for diagnosis through ADB

Done: 0 / 4

Third-party wear monitoring applications

Google Play Market has a lot of tools that promise to show you how accurate your battery wear is, but not all of them are equally useful, some just duplicate system information, others collect user data, and you have to choose proven solutions that are open source or have a high reputation.

One of the best solutions is AccuBattery, which is that it doesn't show data instantly, it has to work in the background for a few days, analyze the charging and discharging process, and it builds a degradation graph from that observation, and it gives a residual capacity forecast.

Advantages of using such applications:

  • πŸ“ˆ Charting history graphing of charging.
  • πŸ”” Smart notifications about the completion of charging (helps to save the battery).
  • πŸ›‘οΈ Estimation of energy consumption of individual applications.
  • πŸ’Ύ Preserving the history of the Li-Ion element.

Don’t rely on β€œoptimizer” apps that promise to β€œspeed up” the battery; at best, they simply shut down background processes, and at worst, disrupt Xiaomi’s power management system; trust only monitoring, not β€œtreatment.”

πŸ“Š How do you check the battery?
Engineering menu
Annexes (AccuBattery)
Computer (ADB)
Visually by working time

Standards and indicators: when it is time to change the battery

Understanding the numbers is key to proper diagnosis. Lithium-ion batteries are considered consumables. Even when they are used perfectly, they lose capacity. But when exactly should you sound the alarm and look for a service center?

There is a myth that the battery needs to be changed when it holds less than 80% charge. In fact, for an active smartphone user, the critical threshold is often 70-75%. Below this level, voltage drawdowns under load begin, causing sudden shutdowns.

The table below will help to orient in the diagnostic indications:

Health indicatorStatusRecommendationCharging cycles (roughly)
90-100%Excellent.Continue operation0 - 300
80-89%Good.Keep up with the dynamics300 - 500
70-79%SatisfactoryPlanning a replacement500 - 800
Less than 70%CriticalReplacement is mandatory800+

Also important is the internal resistance, which grows as we age, and unfortunately, it is difficult to see software on Android, but an indirect sign of high resistance is strong heating during fast charging and a sharp drop in percentages when you launch heavy applications.

πŸ’‘

The average life of a modern Xiaomi battery is 2-3 years, or about 500-800 full charge cycles, and then the degradation becomes noticeable to the naked eye.

Factors Accelerating Battery Degradation by Xiaomi

Knowing how to test a battery is important to understand what affects its condition. Xiaomi owners often complain about rapid wear and tear, unaware that they provoke it with their own habits. Quick Charge or HyperCharge fast charging system is convenient, but it generates a lot of heat.

High temperature is the main enemy of lithium batteries. Using a smartphone while charging, especially in games, leads to overheating. The power controller tries to protect the device by dropping current, but the chemical reactions inside the cell go faster, irreversibly reducing the capacity.

The habits that kill the battery the fastest:

  • πŸ”₯ Constant charging up to 100% and discharge up to 0% (deep discharge is harmful).
  • 🌑️ Using a navigator or playing games in the bright sun.
  • πŸ”Œ Use of cheap, uncertified cables and blocks.
  • πŸŒ™ Leave your phone on charge all night without optimisation.

The MIUI shell has Optimized Charging, which studies your habits and keeps your charge at 80 percent until you wake up, which greatly extends the life of the Li-Po battery, reducing the time you spend in a state of maximum voltage.

⚠️ Warning: If you notice that the back cover of the smartphone has started to move away or the screen has blown out, immediately stop using the device!

Regular monitoring of the grid will help you notice problems in time. Don't wait until the phone stops turning on without a connection to the grid. Check the charging cycles every six months, and your Xiaomi will last longer.

Does calibration of the battery really help?
Calibration only helps if the percentages are lost (for example, the phone turns off by 15%) and does not restore the physical capacity of the worn battery. It should only be done with obvious charge display glitch.
Can I replace the battery myself?
Theoretically, yes, but modern Xiaomi smartphones have a glued body and complex parsing. Self-replacement often leads to loss of water protection and damage to the plumes.
Does 120W fast charging affect life?
Yes, high currents accelerate degradation, but Xiaomi uses dual-cell batteries and smart controllers to minimize harm. Using the original unit, the difference with conventional charging is not as critical as is commonly believed.