A modern smartphone has become an integral part of life, and its autonomy directly affects the comfort of use. Over time, any Li-Ion or Li-Pol battery degrades, losing its original capacity. This is a natural physical process that cannot be completely stopped, but can be controlled. Understanding the real state of the power source helps to avoid sudden shutdowns and plan timely replacement.
Many users notice that the phone holds its charge worse, but do not know the exact numbers. Unlike iOSwhere the battery status is displayed in the default settings, in Android this information is often hidden from the eyes of the average owner. However, there are proven methods that allow you to obtain detailed data on the chemical aging of a battery without the need to disassemble the device or take it to service.
In this article we will look at all current diagnostic methods: from simple built-in codes to professional analysis via a computer. You will learn how to interpret the obtained values โโand what indicators are considered critical for the further operation of the gadget.
Built-in engineering codes and hidden menus
The fastest way to get primary information is to use special USSD commands or codes to enter the engineering menu. These tools are built into the firmware of most manufacturers, although their availability depends on the specific model and version of the shell. To launch, just open the โPhoneโ application and enter a sequence of characters.
One โโof the most common codes is ##4636##. After entering the last character, the menu should open automatically. Here you need to select the item Battery information. The window that opens displays the current charge level, voltage, temperature and, most importantly, health status. If the field Battery health shows the value Good, then the system does not record critical deviations.
For devices from Samsung the code #0228#which opens the advanced diagnostic menu. Owners Xiaomi can try the combination ##6485##*often works. In the latter case, you need to pay attention to the parameters MB_06 (battery condition) and MF_02 (charging cycles). The value Good in the status field confirms the normal operation of the controller.
โ ๏ธ Attention: On many modern smartphones with updated versions of Android, access to engineering menus through codes may be blocked by the manufacturer. If the code does not work, the system simply does nothing or displays an error message - this is not a breakdown, but a software limitation.
It is worth remembering that the data in the engineering menu is read directly from the battery controller (BMS). They may be less accurate than the results of software calibration, but they give an excellent idea of the current status without installing third-party software.
โ๏ธ Check through the engineering menu
Analysis using third-party applications
If system methods do not provide a complete picture, specialized utilities from the store come to the rescue Google Play. These applications use the system's API to collect statistics and calculate wear rates based on the difference between the nameplate and current capacity. They are convenient because they provide data in a clear graphical form.
The application is considered the leader in this niche. AccuBattery. After installation, it does not show the result instantly: the app requires several charging cycles (usually from 2 to 5) to accumulate statistics and carry out accurate calculations. The principle of operation is based on comparing the amount of energy taken by the battery during charging with the change in the percentage of charge displayed by the system.
The โHealthโ tab AccuBattery shows the estimated capacity in mAh and the percentage of wear relative to the factory characteristics. The app also allows you to set a target charge level (e.g. 80%), which helps slow down future chemical degradation. Other popular analogs include Battery HD and 3C Battery Manager, which offer similar functionality.
- ๐ AccuBattery โthe most accurate tool for long-term monitoring and estimation of actual capacity.
- ๐ Battery Guru โprovides tips for extending battery life based on usage habits.
- โ๏ธ CPU-Z โexcept for the processor, shows detailed battery data in the Battery tab, including voltage and temperature.
It is important to understand that any application runs in the Android environment and depends on the accuracy of the data provided by the phone controller itself. If your device's sensors are faulty or incorrectly calibrated, app readings may be inaccurate. However, these tools are ideal for quickly assessing the degradation trend.
Professional diagnostics via ADB
For users who want to obtain the most reliable data without errors of third-party applications, there is a computer diagnostic method. It requires connecting a smartphone to a PC and using tools Android Debug Bridge (ADB). This method allows you to read raw data from system files that are not always accessible to regular apps.
First you need to activate developer mode on your phone. To do this, go to Settings โ About phone and quickly click 7 times on the item Build number. After the notification โYou have become a developerโ appears, go to the menu For developers and turn on the toggle switch USB debugging.
Connect the device to the computer with a cable and open a command line or terminal in the folder with ADB installed. Enter the command to get a complete dump of battery information:
adb shell dumpsys batterystats --charged
In the command output, look for lines containing capacity information. We are interested in the parameters Current capacity (current full capacity) and Design capacity (factory capacity). By dividing the current value by the factory value and multiplying by 100, you will get the exact percentage of battery health. For example, if the design is 4000 mAh, and the current is 3200 mAh, the wear is 20%.
โ ๏ธ Attention: To work with ADB, device drivers are required to be installed on the computer. If the `adb devices` command does not show the serial number of the phone, check the cable and debug permission, which should appear on the smartphone screen when connected.
This method is especially useful when buying used devices, as it shows facts rather than estimates. Resetting statistics in this section of the software path is almost impossible, which makes diagnostics reliable.
What to do if ADB does not see the device?
Make sure that the file transfer mode (MTP) is selected, and not just charging. Try a different USB port or cable. On some shells (for example, MIUI), you must additionally enable โChange settings via USBโ in the developer menu.
Calculation of wear by charging cycles
The life of any battery is measured in recharge cycles. One cycle is a complete discharge and a charge of 100%, or the sum of several partial charges equal to 100%. Manufacturers usually guarantee 80% capacity retention after 500โ800 such cycles. Knowing the number of completed cycles helps predict the remaining life.
On some devices, especially from Xiaomi and Poco, the number of cycles can be found out through the engineering menu by code ##6485##. Parameter MF_02 or MB_00 (depending on the model) displays the exact number of cycles. If the value exceeds 600โ700, you should expect a noticeable decrease in battery life.
For other brands, this information can often be obtained through system logs or applications like Phone Info SAM (for Samsung). The logs batterystats.bin (before resetting the statistics) sometimes store data on deep discharges, which indirectly indicate the age of the battery.
| Number of cycles | Expected capacity | Recommendation |
|---|---|---|
| 0 โ 300 | 95% โ 100% | Battery is in excellent condition |
| 300 โ 600 | 85% โ 95% | Normal wear, stable operation |
| 600 โ 800 | 75% โ 85% | Noticeable reduction in operating time |
| More than 800 | Less than 75% | Battery replacement is recommended |
It is worth considering that cycle counting in software is not always ideal. The controller can reset the counter when flashing or replacing the board, so this parameter is best considered in conjunction with real capacity tests.
Try not to discharge the phone to 0% regularly. Deep discharge causes more damage to the chemistry of the lithium cell than frequent recharging in the range of 20โ80%.
Symptoms of physical wear and swelling
Software methods are good for assessing capacity, but they cannot always identify physical defects. A critical sign of the end of a battery's life is swelling. This occurs due to the release of gases inside the sealed housing of the element when chemical processes are disrupted or overheating.
You can visually determine the problem by placing the phone on a flat surface and trying to twist it. If the device spins like a top due to the convex back cover, the battery is swollen. Another sign may be the separation of the screen from the body or the appearance of cracks at the joints.
Swollen battery presents a serious danger. It can damage the display matrix, put pressure on the board, and in rare cases, ignite if punctured or exposed to extreme heat. It is strictly forbidden to use such a phone.
- ๐ฅ The phone gets very hot even during light tasks (browser, instant messengers).
- โก Sudden jumps in the percentage of charge (for example, from 30% to 5% at once or shutdown).
- ๐ The device charges too quickly or discharges in a couple of hours in standby mode.
If you observe these symptoms, a software check no longer makes sense. The power supply must be replaced immediately by an authorized service center. The use of damaged batteries is unacceptable.
โ ๏ธ Warning: Never attempt to puncture or squeeze a swollen battery yourself to โrestore its shape.โ This is guaranteed to result in a fire or chemical burn. Dispose of it correctly.
Calibration and software reset of statistics
Sometimes the problem is not physical wear, but desynchronization of the controller and operating system. The phone may show 100%, but turn off after 10 minutes, or hang at 20% for hours. In such cases, the battery calibration procedure helps, which resets the statistics file batterystats.bin.
The classic calibration method looks like this: discharge the phone until it turns off completely, then turn it on and discharge it again until it turns off (without connecting to the network). After this, charge the device with it turned off to 100%. Do not interrupt the process and do not turn on the phone until the indicator shows full charge.
A more advanced method for users with Root-rights is to use applications like Battery Calibration. They allow you to forcefully delete the statistics file, forcing the system to re-learn the actual battery capacity. However, for ordinary users, manual cyclic charging is safer and more efficient.
Calibration does not restore the physical capacity of the battery, it only corrects the charge percentage display. If the wear is real, the numbers will become fair, but the operating time will not increase.
After calibration, it is recommended to repeat the check through applications or ADB. If the capacity indicators remain low, it means that the degradation of the chemical composition is irreversible, and software methods will no longer help.
Frequently asked questions (FAQ)
Is it true that charging to 100% kills the battery?
Charging to 100% does not โkillโ battery instantly, but constant exposure to peak voltage (4.2V or 4.35V) accelerates chemical aging. To maximize service life, it is optimal to keep the charge in the range of 20โ80%. Modern smartphones have controllers that reduce the current at the last percentage, minimizing harm.
Is it possible to accurately find out the production date of a battery?
The battery itself often has a sticker with a date code (for example, 4 digits: week and year). But to see this, you need to disassemble the phone. It is extremely difficult to find out the production date programmatically, since this information is rarely recorded in available system logs.
Does fast charging affect wear?
Yes, fast charging generates more heat, and high temperature is the main enemy of lithium batteries. However, manufacturers are introducing cooling systems and dual-cell batteries to offset this effect. In the long run, regular charging at 5-10 Watts is more gentle on the resource.
Why does the application show different capacity than ADB?
Applications use a calculation model based on user behavior, while ADB reads data directly from the power controller report. ADB data is considered more reliable (โrawโ), while applications may have errors during the initial period of use.
Is it worth changing the battery if the wear is 15%?
Wear of 15% is considered quite acceptable for a device aged 1.5โ2 years. If you are happy with the current battery life and there are no sudden shutdowns, replacement is not necessary. Typically, services recommend replacement if there is a loss of more than 25โ30% of the factory capacity.