Sudden shutdowns of the smartphone at 20-30% charge or a rapid drop in energy levels are sure signs that battery life the battery is coming to an end. However, relying only on subjective feelings is dangerous, since software glitches can distort real indicators. To objectively assess the health of your device, you need to carry out diagnostics using the built-in system tools or third-party software.

Understanding the current state of Li-Ion or Li-Pol battery allows you to avoid a sudden loss of communication at an important moment and plan a replacement in time. In this article, we will analyze proven analysis methods, from simple USSD codes to professional connection via a computer, which will help identify hidden defects.

You should not ignore the first “bells”, such as heating the case during charging or swelling of the back cover. Timely battery diagnostics will not only extend the life of the gadget, but also ensure your safety by preventing possible fires in damaged cells.

Hidden system codes and engineering menu

The fastest way to get primary information about the battery is to use special service codes. Smartphone manufacturers often hide diagnostic utilities that can be accessed by typing a combination of characters in the Phone app. This method does not require the installation of additional software and works at the firmware level.

However, it is worth considering that there is no universal code for all devices. Shell developers like MIUI, OneUI or ColorOS can block standard commands or replace them with their own analogues. If one of the codes does not work, try the next one from the list, since compatibility depends on the specific processor model and Android version.

After entering the combination, a menu with technical data may appear on the screen, where we are interested in the section Battery Status or Battery Health. The current voltage, temperature and health status are displayed here. If you see the status Good, it means that the controller does not record critical errors, although this does not always guarantee the preservation of the factory capacity.

⚠️ Attention: Be extremely careful in the engineering menu. Changing settings in sections not related to testing (for example, Network Select or Band Mode) can lead to loss of communication or unstable operation of the radio module.

For most devices on pure Android or with shells from Samsung and Xiaomi, the following combinations are relevant:

  • 📞 ##4636## — universal testing menu, section “Information about battery."
  • 📞 *#0228# — specific for Samsung devices, shows voltage and charge level.
  • 📞 ##6485## — diagnostic menu for Xiaomi, where the parameter MB_06 shows the status, and MF_02 — charge cycles.
  • 📞 ##34971539## — camera menu and device information for some models.
📊 How often do you encounter rapid discharge of your phone?
Daily
Once a week
Only in winter
Never, the battery holds up perfectly

Analysis through third-party monitor applications

When the built-in tools do not provide a comprehensive picture, specialized utilities from Google Play come to the rescue. Applications like AccuBattery or Ampere work on the principle of collecting statistics in real time, calculating the real capacity based on the flowing current and charging time.

The main feature of such apps is the need for a calibration period. They cannot provide an accurate wear figure immediately after installation. You will need to carry out several complete cycles: discharge the phone until it turns off and charge it to 100% without interrupting the process. Only after accumulating data, the algorithm will issue a verdict on the state of nominal capacity.

In the application interface, pay attention to the “Design Capacity vs Estimated Capacity” parameter. The difference between these percentage values ​​is your actual wear and tear. If the calculated capacity is less than 70% of that declared by the manufacturer, it is time to change the battery, since chemical degradation of the plates becomes irreversible.

💡

For maximum measurement accuracy in monitor applications, turn off Wi-Fi and mobile networks during the charging cycle to eliminate the influence of background processes on current consumption.

It is worth noting that some manufacturers deliberately limit access applications to system battery files in new versions of Android (from 10 and higher). In such cases, apps can show approximate data based on mathematical models rather than directly reading the controller.

Checking status through a computer and ADB

The most reliable method available to advanced users is using a debug bridge Android Debug Bridge (ADB). This method allows you to request “raw” data from the system directly from system files, bypassing the limitations of the user interface and third-party applications.

First, you need to activate developer mode on your smartphone. Go to Settings → About phone and quickly click 7 times on the item "Build number". After the message “You have become a developer” appears, go to the new menu and turn on the toggle switch USB debugging. Connect the phone to the PC with a cable.

Open the command line on the computer in the folder with ADB installed and enter the command to display the full log batteries:

adb shell dumpsys battery

In the resulting list, find the lines level (current charge), status (charging status) and health (state). Value health: 2 usually means “Good”, while other numbers may indicate overheating, overvoltage or physical wear. This method is especially useful when the phone screen is broken or does not respond to touches.

Deciphering battery health codes in ADB

1 - Unknown; 2 - Good; 3 - Overheating; 4 - Dead battery; 5 - Overvoltage; 6 - Malfunction; 7 - Hypothermia

Table of normal indicators and decoding of statuses

To correctly interpret the data obtained, you need to understand what values ​​are considered normal for modern lithium batteries. Below is a summary table to help classify the condition of your battery.

Parameter Normal value Critical value What does it mean
Voltage 3.7V - 4.2V < 3.4V or > 4.35V Deep discharge or risk of swelling
Temperature 25°C - 35°C > 45°C Overheating, chemical degradation
Residual capacity > 80% of the nominal < 60% of the nominal Battery replacement required
Charge cycles 0 - 500 > 800 Natural wear of plates

Please note that a voltage of 4.2V is reached only at the very end of charging, and at rest it usually remains at 3.8-3.9V. If the voltmeter shows values below 3.5V on a charged phone, this is a sign of a “tired” battery that cannot hold energy.

💡

Capacity falling below 80% of factory capacity is the official wear and tear standard, at which manufacturers recommend replacing the battery for stable operation of the device.

Visual inspection and physical signs of wear

Software diagnostics are not always able to detect physical defects, such as microcracks or the onset of a chemical reaction inside the case. Therefore, an external inspection is a mandatory step in the inspection, especially if the phone is more than two years old or has been subjected to shock.

Carefully inspect the joint between the screen and the body, as well as the back cover. If you notice that the panel is moving away, a gap has appeared, or the phone no longer lies flat on the table and rotates when you press the corner - this is a sure sign battery swelling. Gases released during the decomposition of the electrolyte burst the sealed bag from the inside.

⚠️ Attention: If swelling is detected, immediately stop using the phone and do not try to charge it. Pressure inside the case may cause fire or damage to the display matrix. Remove the battery (if the design allows) or take the device for service.

Also check the charging port contacts and the condition of the cable. Oxidation or contamination can create high resistance, causing the phone to become hot and charge slowly, which the user will mistake for a bad battery. Cleaning the port with a wooden toothpick often solves the problem of “false wear.”

☑️ Visual inspection checklist

Done: 0 / 4

Calibrating and resetting battery statistics

Sometimes the problem lies not in physical degradation, but in desynchronization of the charge controller and the operating system. The phone may turn off by 15% because it “thinks” there is no energy, although in fact there is still a charge. In such cases, the procedure calibration helps.

The essence of the method is to force the controller to re-determine the boundaries of the minimum and maximum charge. To do this, you need to completely discharge the smartphone until it turns off automatically, then, without turning it on, charge it to 100%. After reaching the maximum, it is recommended to keep it on charge for another 1-2 hours.

For a deeper reset of statistics, you can use the ADB command, which resets the battery log files:

adb shell dumpsys battery reset

After executing the command, reboot the device. The system will start collecting energy consumption data from scratch. If after 3-5 cycles of full charging and discharging the problem of rapid shutdown does not disappear, then the problem is precisely the physical wear of the chemical element, and software methods are no longer effective.

⚠️ Attention: Do not carry out the procedure of full discharge “to zero” too often. Deep discharge below 2.5V is harmful to lithium batteries and can cause irreversible degradation. Use this method for calibration only.

Checking the condition of the battery regularly will help you plan your repair budget in advance and avoid unpleasant surprises. Remember that ideal batteries do not exist, and the loss of capacity over time is a natural physical process that can only be slowed down by correct usage habits.

Why does the phone discharge quickly after an Android update?

After a major system update, background processes perform file indexing and application optimization, which creates a high load on the processor in the first 2-3 days. This is a temporary phenomenon, and battery consumption should normalize on its own.

Is it harmful to use the phone while charging?

Using heavy applications (games, navigation) while charging causes simultaneous heating from the processor and a chemical reaction in the battery. High temperature is the main enemy of lithium cells, accelerating their aging.

Is it possible to replace the battery yourself?

If the smartphone has a non-removable battery and adhesive fixation, replacing it yourself is risky. There is a possibility of damaging the cables, the screen, or puncturing the new battery, which will lead to a fire. It is better to entrust this to the service.

What are charge cycles and how to find them out?

One ​​cycle is the consumption of 100% of the battery capacity (not necessarily at one time). You can find out the exact number of cycles through the engineering menu (code ##6485## for Xiaomi) or applications like AccuBattery, which calculate them indirectly.

Is it true that you only need to charge the phone up to 80%?

Yes, this extends the life of the battery. Lithium batteries experience the highest voltage and heat in the range of 80-100%. Many manufacturers now integrate the “Optimized Charging” function, which automatically stops the process at 80%.