Has your smartphone started to discharge faster than you can get to work, and the screen goes blank at 20% charge? These alarm bells indicate that the resource lithium-ion battery is coming to an end. Over time, the chemical reactions inside the battery slow down, causing the maximum capacity to irreversibly decrease. Understanding the current state of the battery helps you make a decision: software optimization will still help or it’s time to look for a new battery.
Unlike iOS, where the percentage of battery health is visible in the settings, the ecosystem Android does not provide a single universal button for this purpose. Manufacturers often hide detailed telemetry, leaving users in the dark. However, there are proven ways to access this data - from engineering menus to third-party software. We will analyze all the methods from simple to complex so that you can accurately assess the degree of degradation of your device.
Built-in diagnostic tools and service codes
The fastest way to get primary information is to use hidden USSD codes built into the firmware. Manufacturers often leave access to the engineering menu to service centers, but ordinary users can also use it. Enter the combination ##4636##in the “Phone” application. If the code works, the Test menu will open, where you can find the status and voltage in the Battery Information section.
However, this method is not universal. On many modern smartphones with skins MIUI, OneUI or ColorOS this code can be blocked or redirected to standard settings. Xiaomi owners should try the code ##6485##that displays advanced statistics. Here you need to look for parameters MB_06 (battery condition) and MF_02 (number of charging cycles).
⚠️ Attention: Entering service codes is safe if you are just viewing information. However, avoid changing settings in the engineering menu if you are not sure of their purpose - this may disrupt the operation of the radio module or the calibration of the sensors.
Some brands, such as Samsung or Motorola, have integrated diagnostics directly into the support application. For example, in Samsung Members there is a “Diagnostics” section where you can run a battery test. The system will check the voltage and status, returning a verdict of "Good" or "Bad", although specific capacity numbers often remain hidden.
Use of third-party monitoring applications
If system methods do not provide a complete picture, specialized utilities from Google Playcome to the rescue. They analyze the behavior of the power controller and calculate wear based on current performance. The most popular solution is the application AccuBattery. It does not show instant results when first launched - it requires several charging cycles to accumulate statistics and build an accurate model.
The principle of operation of such apps is based on comparing the capacity declared by the manufacturer with the actually recorded amount of energy received by the battery during the charging session. After 3-5 full cycles you will get a graph of battery health in percentage. Other useful applications include Battery Guru and CPU-Zwhich also display the temperature and manufacturing technology of the element.
- 🔋 AccuBattery —the market leader, shows the actual capacity in mAh and the percentage of wear.
- 🌡️ CPU-Z —provides technical data on voltage and temperature in real time.
- 📊 Ampere —measures charging and discharging rates, helping to identify parasitic currents.
It is important to understand that software methods have error. They depend on controller calibration and usage conditions. If the app shows 90% health, but the phone shuts down at 30%, the problem may not be chemical aging, but rather a desync between the software meter and the actual capacity.
For maximum measurement accuracy in apps like AccuBattery, charge the phone to 100% and discharge to almost 0% over a period of several days. Avoid interrupting charging cycles.
Analysis via ADB and system logs
For advanced users who want to obtain data directly from the system without installing unnecessary software, the tool Android Debug Bridge (ADB)is suitable. This method requires connecting your smartphone to your computer and enabling USB debugging. It allows you to query the system for a file batterystats.bin or current status via shell commands.
Connect the device to the PC, open the command line and enter the following command to obtain a complete dump of battery information:
adb shell dumpsys batterystats --charged
In the command output, look for lines Estimated capacity or parameters associated with the current charge. A simpler option is the command adb shell dumpsys battery, which will show the current level, status and technology, but rarely displays the degree of wear directly on stock firmware. On devices with root access, you can read the file /sys/class/power_supply/battery/capacity, where the estimated capacity is sometimes stored.
⚠️ Attention: The ADB interface and command output may differ depending on the version of Android and the manufacturer's shell. On some devices (for example, recent Pixel or Samsung models), access to full capacity data via ADB may be limited by security policies.
Usage adb gives the most “clean” data, as it eliminates the influence of background processes of third-party applications on measurements. However, interpreting raw data requires technical literacy. The values can be presented in microvolts or logarithmic units that need to be recalculated.
How to enable USB debugging?
Go to Settings → About phone → tap on “Build number” 7 times. Then, in the advanced settings, the “For Developers” item will appear, where you need to activate the “USB Debugging” toggle switch.
Calculation of wear using the charging cycle formula
The physical wear of the battery is directly related to the number of charging cycles completed. One cycle is the consumption of 100% of the capacity, not necessarily at one time (for example, two times 50%). Lithium-ion batteries are designed for an average of 500-800 full cycles, after which their capacity drops to 80% of the nominal value.
If you know the number of cycles (through the Xiaomi engineering menu or applications), you can approximately estimate the remaining resource. The formula is simple: if the nameplate capacity was 4000 mAh and 500 cycles have passed, the expected current capacity will be about 3200 mAh. However, this calculation is averaged and does not take into account operating temperature conditions.
| Number of cycles | Residual capacity (average) | Recommendation |
|---|---|---|
| 0 - 300 | 95% - 100% | Battery in excellent condition |
| 300 - 500 | 85% - 95% | Normal wear, operation stable |
| 500 - 800 | 70% - 85% | Noticeable decrease in autonomy |
| More than 800 | Less than 70% | Replacement of the element is recommended |
It has a significant effect on the rate of degradation temperature. Operating the device under high loads (games, navigation) in hot weather accelerates chemical aging significantly. Even with a small number of cycles, the battery can degrade faster due to the thermal effect on the electrolyte.
The number of cycles is not the only indicator. Operating conditions (temperature, depth of discharge) affect wear more than just the charge counter.
Visual and behavioral signs of degradation
Sometimes technical data is not needed to understand that the battery is “tired”. Physical changes in the body or behavior of the smartphone speak louder than any numbers. The most dangerous sign is a swollen battery. If the back cover comes off, the screen protrudes from the frame, or the phone does not sit well on a flat surface, stop using it immediately.
Software glitches are also an indicator. Sharp jumps in the charge percentage (for example, a drop from 40% to 5% in a minute) indicate that the controller cannot correctly calculate the residual voltage due to changes in the internal resistance of the can. Also an alarming signal is the strong heating of the case even during simple tasks, such as browsing the web.
- 📉 Nonlinear discharge —the percentage melts before our eyes after 50%.
- 🔥 Overheating —the device is hotter than usual when charging or working.
- 🔌 Shutdowns —the smartphone turns off when there is a charge (10-15%).
Visual inspection of the charging port is also important. Contact oxidation can mimic battery problems by creating high resistance in the circuit. Before diagnosing the capacity, make sure that the cable and connector are in good condition, since undercharging due to poor contact distorts the cycle statistics.
Calibration and methods for extending battery life
If the wear is not critical (above 80%), but the percentages jump, calibration will help. This process synchronizes the system readings with the actual terminal voltage. To do this, you need to completely discharge the phone before turning it off, then charge it to 100% while it's off and keep it on charge for another 1-2 hours after it's fully charged.
To slow down future wear and tear, follow the rules of lithium battery health. Avoid deep discharges at 0% and constant charges up to 100%. The optimal range for long element life is from 20% to 80%. Many modern smartphones have a function optimized chargingthat learns your habits and suspends charging at 80% until you wake up.
⚠️ Attention: Do not leave your phone on charge all night unless you have the optimization function. Staying at 100% voltage for a long time creates stress on the battery chemistry and accelerates degradation.
It is also worth disabling functions that are not used to reduce the number of micro-charging cycles. High brightness of the screen and constant search for a network in areas of poor reception force the power controller to work in extreme modes, generating excess heat.
☑️ Daily battery maintenance
Frequently asked questions (FAQ)
Is it possible to restore a dead battery programmatically?
It is impossible to completely restore the chemical structure of a worn-out battery. Software calibration may correct incorrect percentage readings, but will not restore lost capacity. If the wear is physical, only replacement will help.
Is fast charging harmful to the battery?
The Quick Charge or Power Delivery technology itself is safe thanks to the controllers. The accompanying heat causes damage. If your phone gets too hot when charging quickly, it will age faster. In a cool room, fast charging is not critical.
Why does the application show different capacities?
Different applications use different calculation algorithms. Some take data from the system log, others measure current in real time. An error of 5-10% is the norm for software methods without special equipment.
How often should you change the battery on Android?
With active daily use, the battery life lasts for 2-3 years. If the autonomy is no longer satisfactory and falls below 70% of the nominal value, it is advisable to replace it at a service center.