The modern smartphone is energy dependent, and when battery life gets low, the first suspect is the battery. Users often wonder how to check the battery capacity of an Android phone in order to understand whether it is time to buy a new device or whether it is enough to replace the battery itself. Standard system settings rarely show accurate milliamp-hour (mAh) numbers, hiding real chemical degradation data.
However, the operating system Android retains detailed system-level power consumption status statistics. This information can be accessed in a variety of ways, from hidden engineering menus to complex commands via a computer. In this article, we will analyze all available diagnostic methods that will help you assess real capacity and current wear without having to disassemble the device.
Understanding the current condition of the battery is critical for planning the budget for repairs or upgrades. If the actual capacity drops below 80% of the manufacturer's declared capacity, the phone may begin to turn off unexpectedly in cold weather or under heavy load. Let's take a closer look at how to get this data as accurately as possible.
Checking through the built-in engineering menu
The fastest way to access technical information about the battery is to use secret USSD codes or the engineering menu. These codes work directly with the device’s firmware and do not require the installation of third-party software. However, it is worth considering that the set of commands highly depends on the processor manufacturer and the specific shell MIUI, OneUI or ColorOS.
For most processor-based devices MediaTek and some Samsung a universal code for entering test mode works. You need to open the Phone app and enter a special character sequence. After entering the last digit, the menu should open automatically. If the code did not work, then the manufacturer has blocked this access for ordinary users.
⚠️ Attention: Be extremely careful in the engineering menu. Changing parameters in sections not related to the battery (for example, radio module or screen calibration) may lead to unstable operation of the phone or loss of signal.
In the menu that opens, you need to find the section dedicated to power. It is usually called Battery Information or simply Battery. Key parameters are displayed here: charge level, voltage, temperature and, most importantly, calculated capacity. Some models show health status as a percentage, others only show current technical characteristics.
If standard codes do not work, try universal combinations, which often work on older and mid-priced devices. The table below shows the most common codes for different brands.
| Brand / Processor | Access code | Menu section |
|---|---|---|
| Xiaomi / Redmi | ##6485## |
Battery (MB_06) |
| Samsung | *#0228# |
Battery Status |
| Sony | ##7378423## |
Service tests > Battery |
| MediaTek (general) | ##3646633## |
Hardware Testing > Battery |
| Huawei / Honor | ##2846579## |
ProjectMenu > |
If the input code does not work, try entering it in the “Phone” application and pressing the call button, although this is usually not required for engineering menus - they open automatically.
Using monitoring applications
When built-in tools are not available or show too general information, specialized utilities from Google Play come to the rescue. Diagnostic applications use system APIs to read data from the power controller. They not only show the current charge, but also analyze the history of charge-discharge cycles.
It is considered AccuBatteryone of the most reliable tools. This application is unique in that it does not pull data out of thin air, but calculates the actual capacity based on the actual charge contained while connected to the network. To get an accurate result, you will need to use the phone as usual for several days.
The operating principle of such apps is based on the analysis of voltage and current. The app records how many milliamp-hours were “filled” into the battery from the moment the charger was connected until it reached 100%. Comparing this figure with the rated capacity, the algorithm displays the percentage of wear.
- 📊 AccuBattery —the market leader, shows detailed statistics on the discharge rate and health of the battery.
- 🔋 Battery Guru —offers tips for extending battery life and real-time temperature monitoring.
- ⚡ 3C Battery Manager —a powerful tool for advanced users with graphs of voltage and depth discharge.
It is important to understand that immediately after installation, any application will show approximate data. The system needs time to calibrate its measurements to suit your specific battery. Do not trust the “health” indicators in the first 24 hours of using the utility.
Diagnostics via computer and ADB
For those who want to get the most “raw” and accurate data without intermediaries in the form of graphical shells, there is a method of debugging via a computer. Using the toolkit ADB (Android Debug Bridge) allows you to request information directly from the system kernel. This method requires minimal technical training and a USB cable.
First you need to activate developer mode on your smartphone. Go to Settings → About phone and click 7 times on the build number. After the message “You have become a developer” appears, go to the new menu item and enable USB debugging. Connect your phone to the PC and confirm permission for debugging on the smartphone screen.
To obtain battery data, use the command dumpsys. It downloads a detailed log of the status of all system services, including the power management service. In the data stream, you need to find a block starting with the words Battery Health or simply Battery.
adb shell dumpsys battery
In the command output, look for the lines level (charge level), scale (maximum level, usually 100) and technology (battery type, for example Li-ion). Unfortunately, the standard command does not always show the current capacity in mAh, but it displays voltage (voltage) and temperature, which indirectly indicates the health of the element. Obtaining exact capacity via ADB often requires root access or vendor-specific commands.
⚠️ Warning: The command line interface is case and space sensitive. If the command is not executed, check the correctness of the input and the presence of ADB drivers installed on the computer.
What to do if the computer does not see the phone?
Make sure that you are using a high-quality data cable, and not just for charging. Try a different USB port, preferably USB 2.0, and reinstall the device drivers in the Windows task manager.
Analysis of system statistics files
Deep in the Android file system, logs are stored that contain the most complete information about energy use. Access to these files is usually closed to regular applications, but some file managers with access rights to system folders can read them. This method is suitable for users who understand the directory structure.
The file we are interested in is often located along the path /sys/class/power_supply/battery/. Inside this directory there may be files with names like charge_full, charge_full_design or capacity. The value in the file is the factory capacity, and the current maximum capacity that the battery can accept. By dividing the current capacity by the factory capacity and multiplying by 100, you will get the exact percentage of battery health. For example, if in the file charge_full_design - this is the factory capacity, and charge_full — the current maximum capacity that the battery can accept.
By dividing the current capacity by the factory capacity and multiplying by 100, you will get the exact percentage of battery health. For example, if in the file charge_full_design the value is 4000000 (microvolt-amperes), and in charge_full it is 3200000, then the wear is 20%. This is the most reliable method, since the data is taken directly from the controller.
However, the file structure may differ on different devices. On some smartphones, these files may have a different name or may not be publicly available. In such cases, without receiving root access it will not be possible to read them. Be prepared for the fact that a standard file manager may not show these hidden system directories.
The files in the /sys/class/power_supply/ directory contain the most accurate battery data, since they are read directly from the power controller, bypassing software add-ons.
Visual inspection and indirect signs
Complicated apps are not always needed to understand that the battery requires replacement. The physical condition of the battery often speaks for itself. The chemical aging processes of lithium-ion cells are accompanied by the release of gases, which leads to a change in the geometry of the housing. This is the most dangerous sign that cannot be ignored.
Carefully inspect the body of the smartphone. If the back cover begins to come off, the screen sticks out of the frame, or the phone no longer lies flat on the table and wobbles when you press on the corners, the battery is swollen. It is strictly prohibited to operate the device in this condition due to the risk of fire or further damage to the display and motherboard.
It is also worth paying attention to the behavior of the phone when the charge is low. A working battery discharges relatively linearly. If the percentage “melts” before your eyes (for example, from 20% to 5% in a couple of minutes) or the phone turns off at 15-20% charge in the cold, this is a sure sign of cell degradation and loss of nominal capacity.
- 👁️ Bloating - a physical increase in the size of the battery, requiring immediate replacement.
- ❄️ Reaction to cold —a sudden shutdown at temperatures below 0°C indicates high wear.
- ⏱️ Percentage jumps —unstable readings of the charge indicator indicate problems with calibration or chemistry.
In addition to physical defects, operating time is an indirect sign. If previously the phone lasted a day and a half, but now it barely lasts until the evening with the same usage scenario, the capacity has dropped. However, before sinning on the battery, check the consumption statistics in the settings - perhaps some application has begun to consume resources in the background.
Calibrating and resetting statistics
Sometimes the problem is not the physical degradation of the battery, but an error in the software controller that incorrectly determines the charge level. In such cases, the calibration procedure helps. It does not restore chemical capacity, but forces the system to display percentages correctly, eliminating sudden shutdowns.
To perform calibration, you must completely discharge the phone before it turns off automatically. Then, without turning on the device, charge it to 100%. After reaching a full charge, keep it on power for another hour or two. Then perform a forced reboot (usually by holding down the power and volume buttons).
On some devices with a built-in non-removable battery, there is a procedure for resetting statistics through the recovery menu. To enter it, you need to turn off the phone and hold down the combination of buttons (often Volume up + Power). In the recovery menu, select the item Wipe battery statsif available, or simply clear the partition cache Wipe cache partition.
⚠️ Attention: Frequent full discharges “to zero” are harmful for modern Li-Ion batteries. Use the calibration method only if there are obvious indication failures, do not do this as a regular practice.
☑️ Correct battery calibration
Frequently asked questions (FAQ)
Why do applications show different battery capacity?
Different applications use different calculation algorithms. Some take data from a system file, others calculate the capacity mathematically based on the charging current. In addition, without several charge-discharge cycles, any application provides only a rough estimate, and not an exact value.
Is it possible to restore the capacity of an old battery?
It is impossible to physically restore the chemical structure of a degraded lithium-ion cell. All advice about “freezing” or pulsed currents are myths and can be dangerous. The only way to restore capacity is to replace the battery with a new one.
Does fast charging affect the rate of wear?
Yes, high charging currents and heating that accompanies fast protocols accelerate the degradation of battery chemistry. However, modern power controllers minimize this effect by turning off fast charging when it reaches 80% or when it overheats.
What does the "Over voltage" status mean in the engineering menu?
This is a warning that the battery voltage exceeds permissible limits. This may indicate a problem with the charge controller or the battery itself. In this case, using the phone is unsafe.
How often should you check the health of the battery?
It is enough to carry out diagnostics once every 6-12 months. Frequent checking does not make sense, since battery wear is a slow process. You should be concerned if you notice a sharp decrease in battery life over a short period.