How to independently check the Xiaomi battery for performance: from codes to disassembly

Why Xiaomi’s battery goes down quickly and how to fix it

The battery is one of the most vulnerable spots in Xiaomi smartphones, especially after 1-2 years of active use. Even flagship models like Xiaomi 13 Ultra or Redmi Note 12 Pro+ are not immune to problems: sudden shutdowns with 20-30% charge, rapid discharge in standby mode or bloating, the causes are not only in natural wear, but also in software failures, improper charging or factory defects.

Battery testing should be comprehensive, from analyzing data through an engineering menu to visual inspection after disassembly, and in this article, we will discuss unique diagnostic methods that do not show standard applications like AccuBattery, such as how to decrypt a file log. /sys/class/power_supply/battery/cycle_count Why a contact resistance test could save a smartphone from sudden death.

Method 1: Engineering menus and hidden codes

The fastest way to get technical information about the battery is to use service USSD-They work on all Xiaomi smartphones (including the codes). POCO Black Shark, regardless of the version MIUI. Important: Some codes can reset settings or cause a reboot, so save data beforehand.

The main commands for verification:

  • πŸ”‹ ##4636## - Testing menu, Battery information tab. Shows charge level, voltage, temperature and charging status. Pay attention to health parameter: Good means battery normal, Unknown or Dead - critical problems.
  • πŸ“Š ##284## is a battery test (not all models) If the screen blinks and returns to the desktop after you enter the code, the battery has passed the test.
  • πŸ” ##6484## - menu MTK Engineer Mode (for MediaTek processor devices) Here you can test the charging and discharging current in real time.

πŸ’‘

If you enter the code and you see a message that says "Connection problem or invalid MMI code," your Xiaomi model is blocking the engineering menu, in which case you can use the apps in the next section.

Decoding of key parameters in the engineering menu:

ParameterNormal value.What does deviation mean?
LevelCorresponds to the percentage of charge on the screenIf it differs by more than 10%, the battery calibration is knocked down.
Voltage3.7-4.2 V (at 100% charge)Below 3.5V - deep discharge, above 4.3V - risk of overheating
Temperature20–45Β°CAbove 50Β°C – overheating, below 0Β°C – risk of damage
HealthGoodUnknown – Controller error, Dead – Battery malfunction
What to do if the engineering menu is not opened?
On some Xiaomi models (e.g. Mi 11 or Redmi) K50) The engineering menu is locked. Alternatives: 1. Install the app. MTK Engineering Mode (for MediaTek) or Qualcomm USB Drivers (for Snapdragon). 2. Connect your smartphone to your PC and use it. ADB-Command: Adb shell dumpsys battery 3. For older models (up to the previous one) MIUI 12) try the code ##36446337## (EMMC test).

Method 2: Applications for battery diagnostics

If the engineering menu isn't available, third-party utilities will come to the rescue, not only showing the current status of the battery, but also tracking the history of charging cycles, temperature, and even predicting the remaining lifespan. It's important to choose applications with access to the low-level API so that the data is accurate, not approximate.

Top.-5 applications:

  • πŸ“± AccuBattery analyzes the actual battery capacity, shows the wear in percentage and discharging rate by application.
  • πŸ”‹ Battery Guru - displays voltage, temperature and current in real time. There is a battery test function (discharge to 15% and charge to 100% with time measurement).
  • πŸ› οΈ CPU-Z β€” Battery tab shows battery manufacturing technology (Li-Po or Li-Ion), number of charging cycles and factory capacity.
  • πŸ“Š GSam Battery Monitor – Details the charge flow by process (including background) and is useful for detecting β€œgluttonous” applications.
  • πŸ” AIDA64 β€” Professional tool with data about the battery controller, operating time and even the serial number of the battery.
πŸ“Š What app do you use to monitor your battery?
AccuBattery
Battery Guru
CPU-Z
GSam Battery Monitor
Not using.
Other

How to test the battery through the app:

  1. Charge your smartphone to 100% and turn off the charger.
  2. Launch the app and reset the statistics (in AccuBattery, this is the Reset button in the Health section).
  3. Discharge the phone to 15-20% in normal use (no artificial load).
  4. Check the report: if the actual capacity is less than 20% less than the factory capacity, the battery needs to be replaced.

Charge your smartphone with the original RAM up to 100%|Disable battery optimization for diagnostic application|Do not use your phone during the test (or turn on air mode)|Compare data from 2-3 cross-checking applications-->

Method 3: Checking through ADB (for advanced users)

If you want the most accurate battery data, including the number of charging cycles and the actual cell voltage, use ADB (Android Debug Bridge), which requires connecting your smartphone to your computer, but provides information that is not available through standard means.

Instructions for verification:

  1. Enable USB Debugging in the Developer Settings β†’ About Phone β†’ MIUI Version – Press 7 times, then go back to Additional Settings β†’ For Developers.
  2. Connect your smartphone to your PC and run the command line (Windows) or terminal (Mac/Linux).
  3. Enter the command to check the battery: adb shell dumpsys battery or for detailed information: adb shell cat /sys/class/power_supply/battery/uevent

Key parameters in the ADB output:

  • Capacity is the current charge in percentage.
  • voltage_now β€” voltage in microvolts (divided into 1000 volt-wise).
  • cycle_count β€” Number of complete charge cycles. Critical value: 500+ cycles for most Xiaomi batteries.
  • Health - battery status (similar to engineering menu).

πŸ’‘

If the parameter cycle_count missing ADB, So the manufacturer has blocked access to that information, and in this case, use apps like AccuBattery for a rough estimate.

Method 4: Physical examination and multimeter test

If software methods show critical problems, but you want to make sure that the battery is 100% malfunctioning, you have to disassemble the smartphone. Attention: this voids the warranty (if it is still valid) and requires caution - damage to the plumes can cause the phone to fail.

What to check when disassembling:

  • πŸ” Battery bloating: if the battery case is deformed (bulges, cracks), it must be replaced urgently. Even a slight bloating is dangerous - the risk of fire!
  • πŸ”Œ Contacts: oxidation or contamination of contact areas can cause charging problems.
  • πŸ“ Battery thickness: Compare it to the new one (the norm for Xiaomi is 3.5-4.5 mm). If the thickness exceeds 5 mm, the battery is bloated.

How to check the battery multimeter:

  1. Remove the battery from the smartphone (unplug the plume!).
  2. Transfer the multimeter to DC (DC) mode up to 20 V.
  3. Connect the probes to the battery contacts: red to +, black to -.
  4. Compare the readings: πŸ”‹ 3.7-4.2 B - Battery is in good working order. πŸ”‹ 3.0-3.6 V – Deep discharge, charging required. πŸ”‹ Below 2.8V - Battery is dead, no recovery.

πŸ’‘

If you don't have a multimeter, you can use a known-to-be-functional charger with a voltmeter (like the Baseus Power Monitor) and plug it into your smartphone and check the voltage at the input.

⚠️ Warning: Don't try to resuscitate a bloated battery with heat or punctures! Lithium polymer batteries can ignite if damaged. If the battery is bloated, dispose of it at special reception points immediately.

Method 5: Self-discharge test

One of the most reliable ways to detect battery wear is a self-discharge test, which shows how fast a smartphone loses charge in standby mode, and to be accurate, you need to rule out background processes and network activity.

How to run the test:

  1. Charge your smartphone to 100% and turn off the charger.
  2. Turn on Air Mode, turn off Wi-Fi, Bluetooth and geolocation.
  3. Leave the phone for 8-12 hours at room temperature (20-25Β°C).
  4. Check the remaining charge: πŸ”‹ 0–3% loss – battery in excellent condition. πŸ”‹ 4-10% loss – normal wear and tear. πŸ”‹ More than 10% - critical problems (replacement or calibration required).

If the self-discharge exceeds 15-20%, the following reasons are possible:

  • πŸ”Œ Problems with the power controller (diagnosis is required in the service center).
  • πŸ“± Software failure (will help reset to factory settings).
  • πŸ”‹ Physical wear and tear of the battery (replacement is the only solution).

πŸ’‘

On some Xiaomi models (e.g. Mi) 10T or POCO F3) High self-discharge can be linked to processor activity even in aeromode. CPU-Z (tab CPU).

Method 6: Checking with MIUI Diagnostics

Xiaomi has built a hidden tool for diagnosing hardware components into MIUI, MIUI Diagnostics, which isn’t available on all models, but if your smartphone supports it, you’ll get official battery status data, including actual capacity and cycle count.

How to start:

  1. Open the Phone app and enter the combination: ##6484##.
  2. Select Battery Test (if you have it on the menu).
  3. Wait for the test to be completed (1-2 minutes).
  4. Look at the Battery Capacity option – if it’s less than 80% of the factory value, the battery is worn out.

The following is the case (for MIUI 13+):

  1. Go to Settings β†’ About the phone β†’ All specs.
  2. Press 5 times on the Battery Capacity item.
  3. If a window with detailed information appears, your model supports diagnostics.

⚠️ Note: Some firmware (e.g. global) MIUI Redmi Note 11: Access to battery diagnostics is blocked. ADB third-party.

Method 7: Analyzing system log files

For the most meticulous users, there is a way to get battery data straight from the system logs, which requires root rights or an unlocked bootloader, but provides the most complete information, including charging history, temperature peaks and controller errors.

How to view logs:

  1. Install the Logcat Extreme or MatLog app.
  2. Start log recording and connect the smartphone to charging.
  3. After 10-15 minutes, stop the recording and filter the logs for the battery keyword.
  4. Look for lines with errors, such as BatteryService: health=4 (overheat) or PowerManagerService: discharge rate too high

What you can learn from the logs:

  • πŸ“… Exact charging/discharge cycle times (useful for identifying wear patterns).
  • ⚑ Peak currents that can damage the battery (for example, when using fast charging HyperCharge).
  • πŸ”₯ Temperature anomalies (if the battery is heated for no reason).
How to decrypt error codes in logs?
Some common errors: - health=2 - battery cold (below 0 Β° C.) - health=3 - overheating (above 60 Β° C.) - health=4 - dead battery (needs replacement). - overvoltage - voltage above 4.4 V (risk of damage). - Shutdown by battery - smartphone turned off due to a critical discharge (possibly knocked calibration).

Frequent questions about Xiaomi batteries

πŸ”‹ Why Xiaomi shows 100% charge, but immediately shuts down when you plug in the load?
This is a typical symptom of a downed calibration of the battery controller. Solution: Completely discharge the smartphone before turning it off. Charge it with the original RAM to 100% without interruption. Recycle 2 to 3 times. If it doesn't work, you need to change the battery. On models with MIUI 14+, you can recalibrate using ADB: adb shell dumpsys battery reset.
⚑ Can you use a Xiaomi battery with a capacity of 80% of the factory?
Technically yes, but with reservations: πŸ”‹ Working hours will be reduced by 20-30%. πŸ”₯ The risk of overheating increases (a worn-out battery holds voltage worse). ⚠️ If you have a capacity below 70 percent, you can have sudden shutdowns, if you're using your smartphone as a spare phone or for calls, you can use it.
πŸ› οΈ What battery to choose to replace in Xiaomi?
Selection criteria: πŸ“Œ Original article (for example, for Redmi Note 10 Pro β€” MBJ435460). πŸ”‹ Capacity not lower than factory (for example, if the original 5020 mAh, do not take 4500 mAh). πŸ”„ Number of charging cycles: new battery should have 0 cycles. πŸ›‘οΈ Protection against overheating and short circuit (marking) PTC Recommended brands: Xiaomi Original, ZMI (Xiaomi subsidiary, Baseus (for fast charging models).
πŸ”₯ Why Xiaomi’s battery warms up when charging?
Reasons and Solutions: Reasons to Fix Use of Non-Original RAM Buy a Quick Charge or HyperCharge-enabled charger (depending on the model). Background processes (games, updates) Close all applications before charging or turn on Air Mode. Battery wear (over 500 cycles) Replace the battery. Warms due to increased internal resistance. Charge at high ambient temperatures Charge the smartphone at 10–35Β°C. Avoid direct sunlight.
πŸ“± How to extend the life of Xiaomi battery?
Operational rules: πŸ”Œ Charge your smartphone to 80-90%, not 100% (use the Optimized Charging feature in the mobile phone). MIUI). πŸ”‹ Avoid full discharge (connect charging at 10-15%). 🌑️ Do not use your smartphone in the cold (below -10)Β°C) or in heat (above 40)Β°C). πŸ“΅ Turn off Wi-Fi, Bluetooth and GPS, if they don't need them. πŸ”„ Calibrate the battery every 3 months (full discharge-charge cycle). MIUI 12+ set the settings on β†’ Battery β†’ Manual energy saving mode.