Decreased battery life is one of the most common complaints of smartphone owners after a year and a half of active use. The device, which previously lived quietly until the evening, now requires recharging by lunchtime. Users often attribute this to “gluttonous” applications or background processes, but the real reason is often the physical wear and tear of the chemical battery. Understanding the real state of the battery allows you to make an informed decision: optimize settings, replace the battery, or think about buying a new gadget.
Unlike iOS, where the percentage of battery health is displayed in the standard settings menu, the ecosystem Android does not provide a single universal indicator for all manufacturers. Casing manufacturers often hide this data, leaving the user with only general flow charts. However, there are proven diagnostic methods, from simple USSD codes to professional analysis via a computer. In this article, we will look in detail at how to get accurate data about the capacity and charging cycles of your device.
Using the engineering menu and system codes
The fastest way to access hidden diagnostics is to use special service codes. These commands activate the engineering menu, where the technical parameters of the device are displayed, including battery statistics. However, it is worth remembering that the set of codes is not universal: what works on Xiaomimay be useless on Samsung or Pixel.
For devices running pure Android or with shells close to stock, the code often works ##4636##. After entering in the dialer, the phone will automatically go to the “Testing” menu. Here you need to select “Battery Information”. This section displays the charge level, scale scale, voltage and, critically, temperatura. If the “Health” field displays status Good, then the system does not record critical deviations.
On smartphones Xiaomi, Redmi i Poco a different approach is used. Entering the code ##6485## opens the extended Battery Info menu. Here you need to look for specific parameters:
- 🔋 MB_06 — displays the battery status (Good/Bad).
- 📊 MF_02 — shows the number of complete recharge cycles.
- ⚡ MF_05 — actual current battery capacity in mAh.
- 🏭 MF_06 —factory (nominal) capacity declared manufacturer.
⚠️ Attention: On many modern Samsung and Huawei models, these codes may be blocked by the operator or manufacturer. If nothing happens after entering the code, do not try to use third-party apps to make calls - this may lead to system errors.
If the code did not work, this does not mean that diagnostics are impossible. It’s just that the manufacturer has limited direct access to this data through the standard dialing interface. In such cases, you should switch to software analysis methods.
Analysis using specialized applications
When system tools are not available, third-party utilities from Google Play come to the rescue. They collect statistics in the background, analyzing discharge rate, voltage and temperature conditions. The application AccuBatteryis considered the most authoritative tool in this niche. Unlike simple monitoring, it uses mathematical models to calculate real capacity.
The operating principle of such applications is based on comparing the declared capacity with the amount of energy that actually enters the battery during one charging cycle. It is important to understand: to obtain accurate data, the application must run for at least several days, and preferably a week. A one-time check immediately after installation will only show approximate values based on general databases and not on your specific instance.
After the statistics collection period, go to the “Health” tab. Here you will see the estimated mAh capacity and wear percentage. For example, if the application states that the actual capacity is 3200 mAh when the factory capacity is 4000 mAh, the depreciation is 20%. It is also worth paying attention to the parameter Discharge, which shows how many milliamp-hours were spent from the moment of full charging to the current moment.
For maximum accuracy in AccuBattery, carry out at least one full cycle: discharge the phone to 15-20%, and then charge to 100% without interruption process.
Other popular applications, such as Battery Guru or 3C Battery Manageroffer similar functionality, but may have a more complex interface. They allow you to configure notifications when charging is complete, which is useful for extending the life of the battery, since overcharging and overheating are the main enemies of lithium-ion cells.
Professional diagnostics via ADB and computer
For users who want to get the most accurate data without installing unnecessary software on the phone, the ideal solution is to use USB debugging and tool ADB (Android Debug Bridge). This method allows you to request “native” battery logs from the system, which are often hidden from regular applications.
First you need to activate developer mode. Go to Settings → About phone and quickly click 7 times on the “Build number” item. Then, in the Developer Options menu, enable USB Debugging. Connect your smartphone to the computer with a cable and make sure that a connection confirmation appears on the phone screen.
Open a command line or terminal on your PC and enter the command to display complete information about the battery:
adb shell dumpsys battery
In response, you will receive a comprehensive list of parameters. Look for the lines level (current charge), scale (maximum scale value), status (state) and health. The digital value of health is deciphered as follows: 1 - unknown, 2 - good, 3 - overheating, 4 - overcharge, 5 - death of the element. For a deeper analysis on Qualcomm devices, you can use the command adb shell dumpsys batterystats --charged, which will show detailed discharge statistics.
Decoding battery status codes
2 - Good, 3 - Overheat, 4 - Over voltage, 5 - Dead, 7 - Cold, 8 - Warm. Values 3, 4, 5 require immediate intervention.
This method is especially useful when the phone behaves strangely: it discharges quickly or turns off in the cold, but applications show the norm. A direct query to the system battery daemon will often reveal hidden power controller errors that are not visible in the user interface.
Assessing Physical Condition and External Signs
Software methods are good for assessing electrical performance, but they cannot identify physical defects. Battery wear is often accompanied by visual changes that cannot be ignored. Lithium-ion batteries can swell over time due to the accumulation of gases inside the sealed case.
Carefully inspect the smartphone case. If the back cover has come off, a gap has appeared between the screen and the frame, or the phone no longer lies flat on the table and rotates when you press on a corner, this is a sure sign of bloating. In such cases, software diagnostics become meaningless: operating the device becomes dangerous.
Also pay attention to the discharge rate in standby mode. Put your fully charged phone in airplane mode overnight. If by morning the charge has dropped by more than 5-7%, this indicates a high self-discharge characteristic of degraded cells. A working modern smartphone in airplane mode should lose no more than 1-2% per night.
| Symptom | Normal condition | Critical condition | Action |
|---|---|---|---|
| Appearance | Smooth body, no gaps | Bloating, peeling of the cover | Urgent replacement |
| Heating | Warm when charging | Hot when idle | Diagnostics Software/battery |
| Charge surges | Smooth decrease in % | Sharp reset (e.g. 40% → 5%) | Calibration or replacement |
| Time work | Appropriate for age | Shutdown at 10-15% | Replacing the element |
⚠️ Attention: If you find a swollen battery, do not under any circumstances try to pierce it or press hard on it screen to “reset” the lid. This can lead to a fire or chemical burn.
Calibrating the power controller
Sometimes the problem is not physical wear, but desynchronization of the controller readings and the actual capacity. The phone may turn off at 20% because it “thinks” there is no more power. In such cases, a calibration procedure helps, which resets charge statistics.
The process is as follows: completely discharge the device until it turns off automatically. If the phone turns on again, discharge it further until it stops responding to the power button. Then connect the original charger and charge the phone to 100% without interrupting the process or using the gadget.
After reaching 100%, keep the phone on charge for another 1-2 hours. This will allow the controller to fix the upper voltage limit. Then perform a forced reboot (by holding down the power and volume buttons). For devices with root access, there are special scripts that delete the file batterystats.bin, but for most users the cycle described above is sufficient.
☑️ Battery calibration algorithm
It is worth noting that frequent calibration (deep discharge) is harmful for modern Li-Ion chemistry. Carry out this procedure no more than once every 3-6 months, and only if you notice obvious inaccuracies in the display of the percentage of charge.
Factors that accelerate battery degradation
Understanding the causes of wear helps prevent premature death of the battery. The main enemy is temperature. Operating a smartphone at temperatures above +40°C or below 0°C irreversibly reduces the capacity. High graphics games create double the heat load while charging, which is the fastest way to kill a battery in a few months.
The second factor is extreme charge values. Constantly keeping the battery at 100% or regularly discharging it to zero creates high voltage on the cells, accelerating chemical degradation reactions. The optimal range for long life is from 20% to 80%. Many manufacturers are now introducing the “Optimized Charging” function, which stops the process at 80% and finishes off the remainder only before the user wakes up.
The quality of chargers also affects. Cheap power supplies with unstable voltage and lack of ripple filters can damage the power controller inside the phone. The use of certified cables and units that support the required fast charging protocols (Quick Charge, Power Delivery) guarantees safe current.
The most effective way to extend battery life is to avoid overheating and not keep the phone constantly connected to the network after reaching 100%.
⚠️ Attention: Interfaces and menu names may vary vary depending on the version of Android and the manufacturer's shell (MIUI, OneUI, ColorOS). If you do not find the described items, check the information in the official documentation of your model.
Frequently asked questions (FAQ)
Is it possible to restore the capacity of an old battery using software?
No, the physical degradation of chemical elements cannot be reversed using software methods. Calibration only corrects the display of percentages, but does not add actual capacity. If wear exceeds 20-25%, only replacing the battery will help.
Why does the AccuBattery application show different health percentages?
The application needs time to accumulate statistics. The first measurements are based on averaged data. For accuracy, it is necessary to carry out several charge-discharge cycles over a period of 1-2 weeks. Also, an error may occur due to background processes that consume energy during measurement.
Is fast charging harmful to the battery?
The fast charging technology itself is safe, as it is controlled by the power controller. The accompanying heat causes damage. If the phone gets very hot when charging quickly, it is better to use a regular power supply or remove the case for better cooling.
How often should you change the battery on Android?
The average life of a lithium-ion battery is 2-3 years or about 500-800 full charge cycles. After this, the capacity drops to 70-80% of the nominal value. It is worth changing the battery if the operating time is no longer satisfactory or charge surges are observed.
What to do if the phone turns off at 20-30% charge?
This is a sign of deep degradation or the need for calibration. Try a full calibration cycle. If the problem persists, it means that the voltage on the cells sags under load, and the battery requires physical replacement.