How to accurately check the battery status on Xiaomi Mi 9: from engineering code to ADB

With its 3300mAh battery and Quick Charge 4+ support, the Xiaomi Mi 9 is still a popular flagship, but battery capacity inevitably declines over time. If your smartphone starts to run out in half a day, overheat when charging or suddenly shut down by 20-30%, it’s time to diagnose wear and tear. In this article, 5 proven ways to get accurate battery health data, including hidden engineering menus and commands for ADB.

We're going to break down standard methods through Settings, but also advanced ones, using service codes, third-party utilities like AccuBattery, and even low-level computer diagnostics, and focus on critical wear thresholds (250+ charge cycles or a drop in capacity below 70%), where it's time to change the battery. All instructions are tested on Mi 9 with MIUI 12-14 and Android 10-12 firmware.

1. Standard method: data in Xiaomi settings

The easiest, but also the most limited, way is to use the built-in MIUI statistics, which will show approximate wear, but without detailed information about charging cycles or actual capacity.

Instructions:

  • πŸ“± Open the Settings. β†’ Battery and productivity.
  • πŸ” Slap the icon. βš™οΈ (Β«Battery settings) in upper right corner.
  • πŸ“Š Select Battery Status (on some firmware, the item may be called Battery Health).

Here you'll see the percentage of wear and tear (e.g., "Good: 85%"). Normal readings:

  • βœ… 90-100% β€” battery in excellent condition.
  • ⚠️ 80-89% β€” noticeable wear, it is worth monitoring the autonomy time.
  • ❌ Below 70% - critical wear, replacement is recommended.

⚠️ Note: In some regional firmware MIUI The battery status may be hidden. If it is not, use alternative methods from this article.

πŸ“Š How often do you check the health of your battery?
Once a month
Only when the problems start.
Never checked.
I don't know how to do that.

2. Engineering menu: secret code ##4636##

Android’s hidden engineering menu provides more detailed information, including battery temperature, voltage, and charge level in mV. This method works without root rights, but requires you to enter a service code.

How to open it:

  1. Open the Phone app.
  2. Enter the combination: ##4636## (some firmware may require ##6484###).
  3. Select the Battery Information tab.

Decoding of key parameters:

ParameterNormal valuesWhat does deviation mean?
Charge levelCoincides with percentages on the screenMore than 5% difference – calibration requires resetting
Status.Charging/dischargingUnknown - Controller error
Temperature.25–40Β°C when charging, 15–35Β°C in simpleAbove 45Β°C - risk of degradation
Tension.3.7-4.2 B (rated 3.85 V)Below 3.5 V - deep discharge, above 4.3 V - recharge

Method limitation: The engineering menu doesn't show the actual capacity or the number of charging cycles, and you need ADB or specialized applications.

πŸ’‘

If the engineering menu doesn’t open, try entering the code through the Google Phone app (you can install it from the Play Market even on MIUI).

3. Diagnostic applications: AccuBattery vs AIDA64

The side of the utility gives a more complete picture than standard MIUI tools, and we tested two of the most accurate applications:

AccuBattery (recommended)

  • πŸ“Š Shows real capacity (for example, 2800 mAh instead of the declared 3300 mAh).
  • πŸ”„ Counts charging cycles (critical threshold - 500 cycles).
  • ⚑ Tracks the discharge rate in mAh/hour.
  • πŸ“‰ Builds graphs of capacitance degradation.

AIDA64 (for technical details)

  • πŸ”§ Shows battery technology (Li-Po), manufacturer (ATL, SDI etc.).
  • 🌑️ Monitoring the temperature in real time.
  • πŸ“‹ Save logs for analysis.

How to use AccuBattery:

Install the app and allow access to battery statistics|Charge the phone to 100% and leave for 1 hour (for calibration)|Discharge to 20% without recharging|Check out the Health section for results-->

⚠️ Attention: AccuBattery requires at least 3 complete charge-discharge cycles to show accurate data!

Critical point: if AccuBattery shows a capacity below 2300 mAh (70% of the original), the battery must be replaced - further operation can lead to sudden shutdowns or battery bloating.

Advanced diagnosis through ADB (for experienced)

The ADB (Android Debug Bridge) tool allows you to get raw data from the battery controller, including factory capacity, current wear and even the battery serial number, a method that requires a computer and basic command line skills.

Step 1: Preparation

  • πŸ–₯️ Install. ADB Tools on PC.
  • πŸ“± Turn on Debugging. USB on Mi 9: Settings β†’ The phone. β†’ Version. MIUI (Slip 7 times, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB.
  • πŸ”Œ Connect your phone to your PC and confirm your trust in the device.

Step 2: Diagnostic teams

Open the command line (Windows) or terminal (macOS/Linux) and type:

adb shell


dumpsys battery

Look for the following parameters in the conclusion:

ParameterExample of meaningWhat does it mean?
capacity3300Factory capacity (mAh)
current now2450000 (2450 mAh)Current real capacity
cycle count312Number of complete charging cycles
healthGOOD (5)Condition (2 = bad, 5 = excellent)

Transcript of health:

  • UNKNOWN (1) – Data is not available.
  • GOOD (2) - wear up to 10%.
  • GOOD (3-4) - wear 10-30%.
  • GOOD (5) – wear less than 5% (ideal).
  • BAD (6-7) - Critical wear and tear, need replacement.
What if the ADB can’t see the device?
1. Make sure Xiaomi drivers are installed (download Mi). PC Suite). 2. Try another one. USB-cable (original from Mi 9). 3. Reboot your phone and PC. 4. Enable the Debugging option in Developer Settings USB (security settings) and select Always Allow from this computer.

5. Visual examination and physical signs of wear

Even without programs, you can suspect problems with the battery on external signs:

Symptoms of critical wear:

  • πŸ”₯ Overheating during charging (above 45)Β°C) or in plain.
  • πŸͺ« Bloating the case – check if the screen or back cover is moving away.
  • ⚑ Sudden shutdowns in case of 20-30% charge (failure to calibrate).
  • ⏳ Accelerated discharge (e.g. 1% per minute in standby mode).
  • πŸ”Œ Slow charging (longer than 2 hours to 100 hours%).

How to check for bloating:

  1. Place your phone on a flat surface (such as a table).
  2. Easy tap on the center of the screen – if the case β€œplays” or the screen bends, the battery is swollen.
  3. Check the gaps between the case and the glass (especially at the bottom where the battery is located).

⚠️ Warning: If the battery is swelling, stop using the phone immediately. Risk of fire or damage to the screen! Bloated battery can not be charged or disassembled by yourself.

πŸ’‘

Battery bloating is not only a risk to the phone, it is also a risk of fire. Even if the phone is working, a bloated battery can damage the motherboard or screen when it is used.

6. Battery calibration: when and how to do

If the phone shows the wrong percentage of charge (for example, jumps from 30% to 1%), the problem may be incorrect calibration of the controller.

Calibration instructions:

  1. Discharge the phone before automatically shutting down (0%).
  2. Connect the original RAM and charge up to 100% without interruptions.
  3. Turn off the charger and turn on the phone. If it's less than 100%, repeat steps 1-2.
  4. After full charging, let the phone stand on charging for another 1-2 hours (to balance the cells).

When calibration doesn't help:

  • πŸ”‹ If the actual capacity (accuBattery) is below 60% of the factory.
  • πŸ”„ If the phone is switched off when 15-20% even after calibration.
  • 🌑️ If the battery overheats into a simple.

The Mi 9 uses a Qualcomm SMB1396 charge controller that supports hardware calibration. If the software reset didn't help, try resetting the controller via ADB:

adb shell


dumpsys batterystats --reset

FAQ: Frequent questions about the Xiaomi Mi 9 battery

❓ How many charging cycles can the battery of the Mi 9 withstand?
The original Mi 9 battery is designed for 500-600 full cycles (discharge from 100% to 0%). After that, the capacity usually drops to 70-80% of the original. With intensive use (2 cycles per day), the battery will last ~2-2.5 years.
❓ Can I use a non-original battery?
Technically, yes, but: βœ… Quality analogues (e.g. from ATL or SDI) It can be almost like the original. ❌ Cheap batteries without a controller risk swelling or mischarging. NTC-Thermistor and protective board before purchase.
❓ Why does the phone run out at night? 10-15%?
Possible causes: πŸ“± Background applications (check in Settings) β†’ Battery β†’ Battery utilization). πŸ“‘ Bad network signal (the phone spends energy searching for a connection). πŸ”„ Auto-Update Apps (turn off in Play Market). 🌑️ High ambient temperature (above 30)Β°Solution: Turn on Plane Mode overnight or use AccuBattery to find a voracious app.
❓ How to extend the life of the battery Mi 9?
Practical advice: πŸ”Œ Charge to 80-90% In everyday use (use the settings) β†’ Battery β†’ Optimized charging). ⚑ Avoid fast charging (use it) 10W instead 27W, if you're not in a hurry). 🌑️ Do not leave your phone in the sun or in the car (optimal temperature β€” 10-35Β°C). πŸ“΅ Once a month, perform a full discharge-charging cycle for calibration.
❓ Where to buy the original battery for the Mi 9?
Official sources: πŸ›’ Xiaomi Service Centers (Guaranty) 6 months). πŸ“¦ AliExpress (Look for Ranked Sellers) 98%+, For example, Xiaomi Original Store). πŸ”§ Local service centers (check for a battery certificate) The cost of the original battery: ~1500-2500 β‚½ (on 2026 year).