Xiaomi smartphones are famous for their autonomy and energy optimization, but over time, any lithium-ion battery loses its original capacity. Users often notice that the phone has started to discharge faster or turn off 10-15% of the charge, which is a sure sign of degradation of the batteryโs chemical composition. Many owners try to find an accurate figure of wear in the standard settings menu, but the interface of the MIUI shell or HyperOS hides this data from the average user.
There are several proven ways to look under the hood of the Android operating system and get reliable information about the state of the battery. You can use embedded system codes to access the engineering menu, third-party applications for in-depth diagnostics or physical inspection of the device in case of obvious defects. It is important to understand that no software method will give a 100% guarantee without calibration, but the data set will give you a complete picture.
In this article, we will discuss in detail all available diagnostic methods, from simple to simple. USSD-You'll learn to interpret the values correctly and you'll know when it's time to think about replacing a battery, and the critical threshold for replacement is a residual capacity below 80 percent of the factory capacity. Ignoring severe wear and tear can lead to sudden shutdowns of the device at the most inopportune moment.
Diagnostics through the engineering menu and USSD-code
The fastest way to access hidden battery information is by using special codes embedded in the firmware, which opens up an engineering menu that is designed for testing by service centers, and you don't need a superuser or a computer connection to go into this mode, just a standard Phone app.
Dial the combination ##6485## The menu should open automatically. If that didn't happen, maybe your version of the shell. MIUI restricts access to a full list of parameters, and then you will have to use an alternative code ##4636##, In the list that opens, look for items that are marked. MB_06 (Health status and MB_05 (Current battery capacity).
โ ๏ธ Warning: Be extremely careful when changing any settings in the engineering menu.Accessual resetting of calibration or changing voltage parameters can lead to incorrect display of charge or even damage to the power controller.
Menu values can be represented as textual statuses (e.g., "Good") or numerical metrics. If you see a "Good" status, it means that the system does not record critical errors, but does not guarantee that there is no physical wear. Numerical values, such as the current capacity in mAh, give a more accurate representation of the actual state of the chemical element.
Use of third-party applications for analysis
When built-in tools are scarce, specialized tools come to the rescue from the Google Play store, and AccuBattery, which uses machine learning algorithms to analyze charging cycles, is the leader in this field. Unlike system reports, it doesn't just read static data, but calculates real capacity by comparing the amount of energy that enters the battery with the change in percentage of charge.
To get accurate data, you need to skip several charging and discharging cycles with the application installed. The program will accumulate statistics and in 3-5 days will give the most objective assessment of battery health (Battery Health). Other popular analogues, such as Battery Charge Limit or 3C Battery Manager, also provide advanced statistics, but may require more complex initial configuration.
- ๐ฑ AccuBattery โ market leader, minimalist interface, accurate calculation of wear in several cycles.
- ๐ Battery Guru โ deep analytics, life extension tips, real-time temperature monitoring.
- โก CPU-Z โ system informant, showing not only the battery, but also the load on the processor, which affects the discharge.
- ๐ Ampere - displays the current of charge and discharge, allows you to assess the quality of the charger and cable.
It's important to understand that third-party apps are based on data provided by the phone controller itself. If the controller is lying or not updating the data, the program will show incorrect information, but when combined with visual inspection and engineering menu codes, these tools provide the most complete picture of the state of autonomy of your smartphone.
๐ก
For maximum accuracy of measurements in applications-analyzers try not to interrupt the charging process and use the original charger, as voltage surges can distort the statistics of currents.
Battery Health and Capacity
Once you have access to the technical data, you're faced with a set of acronyms that don't always have a clear meaning, and the key parameter is Battery Health, which is often displayed as a percentage or textual status, which is how much percent of the original factory capacity is still in the battery at the moment.
Another important metric is Design Capacity and Current Capacity, which is the value that the new battery had, as stated by the manufacturer (e.g., 5,000 mAh), and the current capacity is the actual amount of energy that the battery can store after many charging cycles, and the difference between these two is the physical wear and tear.
Also worth paying attention to the voltage parameters: Min Voltage and Max Voltage.Sharp surges under load or too rapid drop in voltage at the bottom of the discharge (below 3.4-3.5 V) indicate a degradation of the internal structure of the battery, which is often manifested in the fact that the phone quickly discharges from 20% to 0%.
| Parameter | Normal value. | The importance of wear | Description |
|---|---|---|---|
| Battery Health | 85-100% | < 80% | Total safety percentage of the container |
| Voltage (Voltage) | 3.7. to 4.4 B | < 3.5 B (at rest) | Electrical potential of the element |
| Cycles (Cycles) | 0-300 | > 500 | Number of complete charging cycles |
| Temperature | 25-35ยฐC | > 45ยฐC | Working temperature under load |
Analysis of system logs through ADB
For advanced users who want to get the most detailed information without installing unnecessary applications on the phone itself, there is a method of analysis through the use of the Internet. ADB (Android Debug Bridge. This way you can download raw battery data directly from the system in text form. You'll need a computer, USB-cable and on-line debugging USB smartphone.
Connect the device to your PC and open the command line: Enter the adb shell dumpsys battery to see current status, or adb shell dumpsys batterystats --charged to get statistics from the last full charge. These commands will output a list of parameters including charge level, connection status, scale and time since the last full charge.
adb shell dumpsys battery
Current Battery Service state:
AC powered: false
USB powered: true
Wireless powered: false
Max charging current: 500000
Max charging voltage: 5000000
Charge counter: 4500
status: 2
health: 2
present: true
level: 85
scale: 100
voltage: 4200
temperature: 320In the conclusion, note the health field. The value of "2" usually means "Good" while other numbers may indicate overheating, overdischarge or malfunction. The Charge counter field shows the current charge in units defined by scale. This method is especially useful if the phone screen is not working or the sensor is glitching and you need to diagnose the problem remotely.
How to enable debugging on USB?
Visual signs of battery degradation
Software diagnostics are important, but the physical condition of the battery often speaks more than the numbers on the screen. Lithium-ion batteries tend to swell when you age or get damaged. If you notice that the back of the smartphone has started to move away from the case, or the screen has slightly raised and there are lights on the edges, this is a critical signal.
Another sign is that the charge indicator is not performing well, such as a phone that can turn off 30% and then shut down abruptly, or charge up to 100% in 20 minutes and discharge just as quickly, suggesting that the controller cannot correctly count the residual capacity due to the change in the internal resistance of the plates.
- ๐ฅ Strong heating of the lower part of the body even for simple tasks (calls, instant messengers).
- ๐ Sharp drops in charge percentage (for example, from 40% to 10% in 5 minutes).
- ๐ The phone turns off when you connect powerful apps or a camera.
- ๐ฅ Bloating of the body or the appearance of gaps between the frame and the screen.
โ ๏ธ Warning: If you find a battery bloating, immediately stop charging and using it.Attempting to breach or damage a bloated battery may cause a fire or chemical burn.Replace the battery in an authorized service.
Prevention and extension of service life
Understanding how to check the resource is only half the battle. It is much more important to know how to slow down the degradation process so as not to face the problem of replacing after a year of use. Modern Xiaomi smartphones have charging optimization features that you need to activate. In the โSecurityโ โ โBatteryโ menu, turn on the option โOptimize night chargingโ, which suspends the charge by 80% and reaches 100% just before you wake up.
Temperature is the main enemy of lithium batteries. Try not to leave your phone in the sun, on the torpedo of a car or under a pillow while charging. Deep discharges of 0% and constant operation at 100% charge are also harmful. The ideal range for storage and operation is from 20% to 80%. If you plan a long trip, it is better to take a power bank than to keep the phone constantly on the wire.
โ๏ธ Daily battery health check
Use only certified cables and power supplies. Cheap Chinese counterparts with AliExpress often do not have proper current stabilization, which causes voltage surges and overheating of the power controller inside the phone. A quality cable with a cross section corresponding to the charging current (for example, 3A or 5A for fast charging) will keep the battery healthy for much longer.
๐ก
Compliance with the temperature regime and avoiding deep discharges can extend the life of the Xiaomi battery by 1.5-2 times compared to extreme operating conditions.