Modern smartphones Xiaomi, Redmi and POCO are famous for their autonomy, but over time, even the best lithium-polymer cells lose their original charge. Users often notice that the phone discharges faster than a year of active use, and begin to look for diagnostic methods. The standard interface MIUI or HyperOS does not always provide exhaustive information about the physical condition of the chemical source of current, hiding the real numbers from the ownerโs eyes.
To accurately assess, you need to use specialized methods that go beyond just looking at the menu. Androidโs engineering menu and USB debugging allow you to look under the hood of the system and find out the rated and current capacity in mAh, as well as the number of recharge cycles. Understanding these parameters is critical to making a decision about battery replacement or software calibration.
In this article, we will look at all the available verification methods, from simple codes to advanced computer utilities, and learn how to distinguish between a software failure of display charge and physical wear of a battery, which will help to extend the life of your device or understand when it is time to contact the service.
Standard diagnostic methods through the engineering menu
The fastest way to access hidden battery information is to use an engineering menu built into the MIUI shell, which is designed to test technicians equipment and provides real-time data, and to log into the menu, you need to open the Phone app and type a special combination of characters.
Enter the code ##6485## on the dial keyboard. The menu should open automatically, without having to press the call button. If the screen blinks and nothing happens, your firmware version may be restricting access to this data or requiring activation through the developer menu.
In the list of parameters that opens, you need to find the strings with the specific notations. MB_06 (current charge level in percentage) and MB_00 (general battery condition; however, the key parameter is MB_05 or MF_05, which shows the remaining capacity in mAh.
โ ๏ธ Note: Some global versions of Xiaomi firmware may block access to code ##6485## by the manufacturer, in which case the system will simply ignore the input or show the standard search menu.
If the code doesn't work, try alternative ##4636##, which opens the test menu. Go to Battery Information. Here, the data may be less detailed, but often shows health and voltage. This data is updated in real time, so watch it dynamically.
What if the code doesn't work?
Using ADB to obtain accurate data
More in-depth analysis is possible through the Android debugging interface (ADB). This method requires connecting your smartphone to your computer and installing drivers, but it provides the most reliable information that software can't hide. USB.
Connect your phone to your PC with a cable and open the command line in the folder with ADB-Enter the command to check the connection: adb devices. On the smartphone screen, you will see a request for debugging permission, which you need to confirm. Once successfully paired, you can request data directly from the system.
For information about the battery, use the command:
adb shell dumpsys batteryThis command will display a list of parameters, including charge level, status, and technology. However, real capacity often requires access to kernel files or the use of specialized scripts, since the standard dumpsys shows the current charge, not the passport capacity.
โ๏ธ Preparation for work with ADB
There is a more advanced team for reading system properties that sometimes reveals battery design data:
adb shell getprop | grep batteryAnalyzing the output of this command can show a parameter ro.battery.capacity, which indicates the design capacity of the device. Comparing this value with the current charge level in mAh (if available through other utilities) gives an idea of the degree of degradation. Remember, interfering with system files through ADB requires caution.
Monitoring and calibration applications
If you don't want to mess with code and computer, Google Play's specialized apps come to the rescue, they read data from system logs and build wear graphs, and one of the most popular and reliable tools is AccuBattery.
The way these applications work is by counting the current that passes through the battery, and to get an accurate estimate of the capacity, the application has to track several charge and discharge cycles, and once installed, it will only show approximate data based on the model of the device.
For proper work, perform the following actions:
- ๐ฑ Install the application and provide the necessary permissions to access battery use.
- ๐ Lower the phone to level. 15-20%, and then charge to 100% (preferably with the screen off).
- ๐ Repeat the charging cycle 2-3 time-story.
- ๐ Compare the value of โDesign Capacityโ with โDesign Capacityโ in the Health tabยป.
Another useful tool is Ampere, which is more focused on charging and current quality, but can also show voltage and temperature. The combination of these two applications gives a complete picture: AccuBattery talks about the health of chemistry, and Ampere talks about the state of the power controller and cable.
๐ก
For maximum measurement accuracy in monitoring applications, turn off the energy saving and background activity of unnecessary programs during the test charging cycle.
Analysis of kernel logs and system files
For users with Root rights or log experience, a method of analyzing kernel files is available. In Android, battery information is stored in the directory. /sys/class/power_supply/battery. Here are files containing raw data from the power controller.
Using a file manager with access to system partitions (e.g., Root Explorer or Root Explorer) MT Manager, follow the path indicated. We're interested in files. charge_full (full capacity) and charge_counter (Values in these files are given in microvolts or milliampere hours, depending on the calibration of the controller.
Compare the value from the file charge_full The difference will show real wear, for example, if the file says 3500000 (mkAh) and passport capacity 4500,, and the wear is more than 20%, which is a critical indicator.
| Parameter | File in the system | Normal value. | Critical condition |
|---|---|---|---|
| Current charge | capacity | 0-100% | Value jumps |
| Full capacity | charge_full | Close to the passport. | Less than 70% of the norm |
| Tension. | voltage_now | 3.7B - 4.4B | Below 3.4B in operation |
| Temperature. | temp | 25ยฐC - 40ยฐC | Above 45ยฐC. |
It is important to understand that manually changing the values in these files without special hardware (programmer) will not restore the physical capacity of the battery. However, resetting the batterystats.bin file (in older versions of Android) or calibrating through the recovers can help the system to correctly display the percentage of charge again.
Visual and tactile diagnosis of the condition
Digital performance is good, but the physical state of the battery often speaks more than any program. Lithium polymer batteries tend to swell when they degrade or damage, and this is due to the release of gases inside the sealed housing.
Do an external inspection of the device. Put the phone on a flat surface and try to unwind it. If the smartphone rotates easily like a yule, then the back cover or screen has detached from the bloated battery. Also note the gaps between the frame and the display.
Tactile signs of malfunction:
- ๐ฅ Heating in the area of the chamber or lower part of the body even in simple.
- ๐ Dramatic drop in charge from 30% to 5% in a few minutes.
- ๐ The phone turns off when the charger is connected or vibrates without notifications.
- ๐ฅ Bloating of the body, noticeable in the eye, or detachment of glass.
โ ๏ธ Warning: If you find that the battery is swelling, immediately stop charging and using the device.Puncture or heating of such a battery is strictly prohibited - this can lead to fire.
Visual contact inspection (if you can remove the lid, which is rare for modern Xiaomi) is also important. Contact oxidation can cause false sensor readings and unstable phone performance. In modern monoblocks, this method is not available without opening, so rely on indirect signs.
Factors affecting the rate of degradation
Understanding the causes of wear and tear will help extend the life of a new battery: battery capacity is a resource that is consumed, and its rate of consumption depends on the operating conditions. The main enemy of lithium cells is extreme temperatures.
Overheating above 45 degrees Celsius causes irreversible chemical reactions that destroy the structure of the cathode and anode. Prolonged exposure to the sun or the use of heavy games while charging is a sure way to quickly kill the battery, and extreme cold is also harmful, although it often gives a temporary effect of loss of capacity.
Deep-to-zero is also harmful. Xiaomi's power controllers try to protect the battery by turning off the phone at 1-2%, but regularly storing the device in a discharged state causes the voltage to drop below a critical level, after which the controller can block charging.
Optimal operating mode for maximum service life:
- โก Keep the charge in range 20-80% for everyday use.
- โ๏ธ Avoid direct sunlight and heat sources.
- ๐ Use original or certified cables and power supplies.
- ๐ Do not leave your phone on charge all night if there is no charging optimization feature.
๐ก
The average life of a modern Li-Pol battery is 500-800 full charge-discharge cycles, after which the residual capacity drops to 80% of the original.