Smartphones have become an integral part of our lives, but their autonomy often leaves much to be desired. Have you noticed that your phone, which previously could easily survive until the evening, now requires charging by lunchtime? This is a sure sign that battery has begun to degrade. Over time, lithium-ion batteries lose their capacity, and finding out the exact percentage of this wear is not as simple as it seems at first glance.

Unlike iOS, where the battery status is displayed in a clear percentage right in the settings, Android does not provide such information explicitly. Manufacturers often hide this data to avoid unnecessary panic among users. However, it is still possible to find out the real state of affairs. There are several methods: from simple engineering codes to using specialized software and even connecting to a computer.

In this article we will analyze all available diagnostic methods. We will look at the built-in tools of the system, third-party applications from Google Play, as well as advanced methods through the ADB command line. Understanding the current state of your battery will help you decide whether you need to calibrate the power controller or whether it's time to think about replacing the battery at a service center.

Using built-in engineering menus and codes

The fastest way to access hidden battery information is to use USSD codes or the engineering menu. These tools are initially intended for service engineers, but are also available to ordinary users. However, it is worth remembering that the interface and availability of these menus highly depend on the manufacturer of your device and the firmware version.

First, try entering the universal code ##4636## in the Phone application. If your device supports this command, the Test menu will open. Go to the Battery Information section. Here you can see parameters such as charge level, voltage, temperature and health status. Look for the line Battery health: if it says "Good", then the system considers the battery to be in good condition, but the exact percentage of wear may not be there.

For devices from Xiaomi and Redmi there is a more advanced method. Enter the code ##6485##. A screen will open with a huge amount of technical data. We are interested in several specific parameters:

  • 🔋 MB_06 —shows the health status of the battery (Good/Bad).
  • 📉 MF_02 —the number of complete charging cycles that the battery has gone through.
  • 🔌 MF_05 —the original battery capacity at (factory capacity).
  • MF_06 —the current estimated battery capacity.

⚠️ Attention: On many modern smartphones with MIUI 12/13/14 shells and later, the code ##6485## may be blocked or show incomplete information. In this case, the MF_06 parameter may be missing, and you will have to use other methods.

If the code does not work, try looking for the “About phone” section in “Settings” and quickly click 5-7 times on the “Kernel Version” or “Build Number” item. This may activate developer mode or open a hidden service menu specific to your brand, for example Samsung or Huawei.

💡

If the code is not automatically entered after dialing the last digit, try pressing the call button. On some models this is necessary to open the menu.

Analysis through third-party applications

When built-in tools are powerless, applications from the Google Play store come to the rescue. They read data from system files and display it in a user-friendly form. The most popular and reliable tool is AccuBattery. This application not only shows the current charge, but also conducts tests to determine the actual capacity.

The operating principle of such utilities is based on mathematical calculations. The app tracks how many milliamp-hours (mAh) were filled into the battery during the charging session and compares this with changes in charge percentage. For example, if the phone is charged 50%, receiving 2000 mAh, then the full capacity is approximately 4000 mAh. By comparing this number with the stated factory capacity, we get the percentage of wear.

It is important to understand that getting accurate data AccuBattery takes time. You need to carry out several charge and discharge cycles using the phone as usual. The instant result after installation will not be accurate. Install the application, use the phone for a couple of days, and in the “Health” tab you will see the treasured number.

📊 How do you most often check the battery?
Built-in code
AccuBattery application
Via a computer (ADB)
No, I’m just changing my phone

In addition to AccuBattery, there are other worthy analogues, such as Battery Guru or Ampere. They can provide additional information about charging speed and real-time power consumption. However, for assessing the wear (degradation) of the chemical composition of the battery, AccuBattery remains the leader thanks to its statistics accumulation algorithm.

💡

Applications do not have direct access to the battery controller, so they calculate wear indirectly, based on charging statistics. Accuracy increases with time of use.

Checking via computer and ADB

For advanced users who want to get the most accurate data without installing unnecessary software on their phone, the ideal option is to use USB debugging and the ADB (Android Debug Bridge) utility. This method allows you to queried system files directly, bypassing interface restrictions.

First, you need to enable “USB Debugging” in the “Developer Options” menu on your smartphone. Connect your phone to your computer with a cable and make sure the drivers are installed. Open a command prompt or terminal on your PC in the ADB tools folder. Enter the command to enter the device shell:

adb shell

After successful connection, enter the command to read the file containing battery information. The path to the file may differ depending on the manufacturer, but the standard path looks like this:

cat /sys/class/power_supply/battery/capacity

However, this command often shows only the current charge. We need capacity data. Try running the command:

adb shell dumpsys batterystats | grep -i capacity

Or look for files with names containing charge_full and charge_full_design. Dividing the current full capacity by the design capacity gives you the health factor. Some manufacturers, for example Motorola or OnePlus, store this data in specific files that can only be accessed with root access.

⚠️ Attention: Working with ADB requires caution. Incorrect commands can lead to system malfunctions. If you are not sure of your actions, it is better to use graphical applications.

What to do if ADB does not see the device?

Make sure that on your phone in debugging mode you clicked “Allow debugging from this computer.” Also try replacing the USB cable, as some cables only support charging, but not data transfer.

Calculating wear manually using formulas

If you received capacity data through the engineering menu or ADB, but it is presented as numbers rather than percentages, you will have to make some simple calculations. The formula for calculating the percentage of battery health (SOH - State of Health) is quite simple and understandable.

You will need two values: Design capacity (the current maximum capacity that the battery can accumulate) and Design capacity (the capacity of the new battery, indicated in the specifications). The design capacity can be found on the manufacturer's official website or on the sticker under the battery (if it is removable).

The formula is as follows:

(Design capacity / Design capacity) * 100% = Percentage health

For example, if you have a phone with a 4000 mAh battery, and diagnostics showed that it now only holds 3200 mAh, then the calculation will be as follows: (3200 / 4000) * 100 = 80%. This means that wear is 20%. Typically, wear of more than 20-25% is considered critical, after which autonomy drops catastrophically quickly.

☑️ What is needed for manual calculation

Completed: 0 / 1

Symptoms of severe wear without diagnostics

You don’t always have a computer at hand or the ability to install an application. Sometimes the smartphone itself speaks eloquently about the state of the battery. There are a number of signs that indicate that the battery is close to the end of its life cycle, even if you do not know the exact percentage of wear.

One ​​of the most obvious symptoms is the phone suddenly turning off while there is a charge. For example, the device shows 15-20%, and then the screen goes blank, and when you try to turn it on, the indicator shows 0% or requires a network connection. This indicates that voltage the batteries sag under load faster than the controller can calculate the percentages.

Another sign is swelling of the battery. If the back cover of the smartphone begins to come off, the screen bends, or the phone does not lie well on a flat surface, this is a critical situation. Chemical processes inside the lithium-ion battery led to the release of gases. Operate such a device strictly prohibited due to the high risk of fire or damage to the display matrix.

It is also worth paying attention to the heating rate. If the phone becomes hot even during light tasks (web browsing, instant messaging) or while charging, this may indicate increased internal resistance of the battery, which is a direct consequence of its aging.

Symptom Probable cause Recommended action
Shutdown at 10-20% Cell degradation, voltage sag Calibration or replacement
Case swelling Gas release, disturbance tightness Urgent replacement in the SC
Fast discharge in standby mode Current leakage or battery wear Checking background processes
Long charging Reduced capacity or malfunction of the controller Diagnostics of the charger and cable

Calibration and extension of battery life

Sometimes the problem is not physical wear, but desynchronization of the power controller and the actual battery capacity. In this case, calibration helps. This process allows the system to re-define the minimum and maximum charge limits.

To perform calibration, completely discharge the phone until it turns off automatically. Then, without turning it on, charge it to 100%. After reaching 100%, keep it charging for another 1-2 hours. Then perform a forced reboot (by holding down the power and volume buttons). This method helps reset erroneous data in a file batterystats.bin.

To slow down future wear, follow simple operating rules. Avoid deep discharge to 0% on a regular basis and try not to keep your phone charging at 100% all the time. The optimal range for long life of lithium-ion batteries is from 20% to 80%. Many modern smartphones already have the “Optimized Charging” function, which limits the charge to 80-85% at night.

⚠️ Attention: Settings interfaces and function names may differ depending on the version of Android and the manufacturer’s shell. If you do not find the charge limiting feature, check system updates or documentation for your model.

💡

Avoid using the phone during intensive charging (for example, games), as the combination of heat from the processor and heat from charging doubles the rate of degradation of battery chemistry.

Frequently asked questions (FAQ)

Is it possible to restore a dead battery programmatically?

No, you can only programmatically calibrate the controller so that the percentages are displayed correctly. The physical degradation of the chemical elements inside the battery cannot be reversed using software. If the capacity has dropped, only replacement will help.

Why does the AccuBattery application show different percentages every day?

The application builds an estimate based on statistics. In the first days of use, there is little data, so the error is large. To get a stable and accurate value, you need to use the application for at least a week, performing regular charging cycles.

Is it harmful to use fast charges for a battery?

Fast charges generate more heat, and high temperatures are the main enemy of the battery. However, modern power controllers are able to regulate the current to prevent overheating. Using certified original chargers minimizes risks.

What does the "Over voltage" status mean in the engineering menu?

This means that the voltage on the battery exceeds the permissible limits. This is a dangerous condition that can cause a fire. Immediately disconnect the phone from charging and contact a service center to diagnose the power controller.

How many charging cycles can a modern smartphone withstand?

On average, modern lithium-polymer batteries retain 80% of their capacity after 500-800 full charging cycles. One cycle is a discharge from 100% to 0%, but it can consist of several partial discharges (for example, two times 50%).