Checking the battery on Xiaomi code: all the ways and hidden functions

Why itโ€™s important to test your Xiaomi battery through codes and how it works

The battery is one of the most vulnerable spots in Xiaomi smartphones, especially after 1-2 years of active use. Even if the phone charges as usual, the real state of the battery can hide critical problems: bloating of the elements, falling capacity below 70% or incorrect operation of the charge controller. MIUI This data is not shown, but the manufacturer leaves behind hidden engineering commands and USSD-codes that allow accurate diagnosis without disassembling the device.

In this article you will find:

  • ๐Ÿ” Secret codes for checking the battery on all Xiaomi, Redmi and other models POCO (including new series 14/13/12).
  • ๐Ÿ“Š Decoding the parameters of the engineering menu - what do you mean? MB_06, FG_VALUE and other technical terms.
  • โš ๏ธ Warnings about the risks of misdiagnosis and how to avoid them.
  • ๐Ÿ› ๏ธ Ways to extend battery life if tests show wear and tear.

Important: The methods in this article work on all Xiaomi Android smartphones, but some codes may differ for devices until 2019 (e.g. Redmi Note 5 or Mi 8).If your model is older, check compatibility in the FAQ section.

๐Ÿ“Š How often do you check the battery status on your Xiaomi?
Never checked.
Six months
Only when problems arise
After each major MIUI update

Method 1: Checking the battery through USSD-code ##4636##

This is the most versatile method, which works on 90% of Xiaomi devices without root rights. The code opens the hidden Android testing menu, where there is a section with battery data.

  1. Open the phone application (standard call).
  2. Enter the combination: ##4636## (no spaces). Some firmware may require you to press the call button.
  3. In the menu that opens, select the Battery Information tab (or Battery Information in English firmware).

In this section you are interested in the following parameters:

ParameterWhat does it mean?Normal values
LevelCurrent charge level in %Corresponds to the indicator in the status line
VoltageBattery voltage in millivolts (mV)3700โ€“4350 mV (depending on model)
TemperatureBattery temperature in ยฐC20-45 ยฐ C (above 50 ยฐ C - overheating!)
HealthBattery status (if maintained)Good (good) or Unknown (unavailable)

โš ๏ธ Note: If the Health parameter shows Unknown, this does not always mean a problem - many Xiaomi firmwares simply do not transmit this data to the standard menu.

๐Ÿ’ก

If ##4636### doesnโ€™t work, try an alternative combination: ##284### (for some POCO models).

Method 2: Engineered menu of Xiaomi (codes ##6484## and #64663##)

For deep battery diagnostics, Xiaomi has a hidden engineering menu that is available through special codes, which shows data directly from the power controller, including the actual capacity, the number of charge cycles, and even the state of individual cells (on some models).

Instructions for entry:

  1. Open the call and enter one of the codes: ๐Ÿ”‹ ##6484## - The main battery test menu. ๐Ÿ“‹ ##64663## - Advanced nutrition information (not available on all models).

Battery

MB_Info

FG_VALUE

CC_VALUE

Decoding of the key parameters of the engineering menu:

  • ๐Ÿ”‹ MB_06 โ€” The actual battery capacity in mAh. Compare this value to the passport capacity of your model (for example, 5000 MAAh for Redmi Note 12 Pro+). If the difference is greater 20%, battery is severely worn.
  • ๐Ÿ”„ Charging Counter: A value above 500 means that the battery is nearing the end of its life.
  • โšก Voltage Now is the current voltage, if it jumps strongly when charging (for example, from a 3.8V before 4.2V In seconds, this is a sign of a controller failure.

๐Ÿ’ก Tip: To save the data from the engineering menu, take a screenshot of the screen. Some parameters (for example, for example, MB_06) can't be copied manually.

Compare. MB_06 passport-capacity|See the value of Charging Counter|Record the current voltage (Voltage Now)|Check the temperature (Temperature)|Take a screenshot of all the parameters-->

Method 3: Checking through ADB (for advanced users)

If standard codes donโ€™t give you the full picture, you can use ADB (Android Debug Bridge), a tool for debugging Android devices, which requires connecting a smartphone to a computer, but shows the most accurate data, including charge history and controller status.

What you'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB-driver.
  • ๐Ÿ“ฑ Included debugging by USB on a smartphone (in Settings) โ†’ The phone. โ†’ Version. MIUI Press 7 times, then return to Settings โ†’ Additionally. โ†’ For developers).
  • ๐Ÿ”Œ Cable USB (preferably original).

Commands to check the battery:

adb shell dumpsys battery

This command will produce a detailed report where the following lines are important:

  • Level is the current charge in %.
  • Voltage - voltage in ฮผV (divide by 1000 mV).
  • Temperature: temperature in ยฐC (divided by 10).
  • charge counter - current capacity in ฮผAยทh (divided by 1000 for mAยทh).
  • Health is the state (2 = good, 3 = bad).

For more detailed information, use:

adb shell dumpsys batterystats

This team will show consumption statistics for recent cycles, which will help identify applications that discharge the battery faster than usual.

โš ๏ธ Attention: Do not use ADB-commands to change battery parameters (e.g., adb shell dumpsys battery set) that can cause permanent damage to the power controller and even fire!

Method 4: Applications for battery diagnostics (without root)

If you're uncomfortable with code or ADB, you can use side-by-side applications that read data from battery sensors and present it in a convenient way.

  • ๐Ÿ“Š AccuBattery shows real capacity, discharge rate and battery wear. It works without root, but for accurate data you need to calibrate the application of a 2-3 charge cycle.
  • ๐Ÿ” CPU-Z โ€” Battery displays voltage, temperature and health (health) and supports most Xiaomi models.
  • ๐Ÿ› ๏ธ Battery Guru monitors charge cycles and warns of overheating, useful for tracking long-term wear and tear.

How to use AccuBattery for maximum accuracy:

  1. Install the app and allow access to battery statistics.
  2. Charge your phone from 0% to 100% without interruptions (donโ€™t turn off charging!).
  3. After full charging, check the Health section - the application will show the real capacity in mAh.
  4. Repeat the procedure 2-3 times for calibration.

๐Ÿ“Œ Example: If AccuBattery shows a capacity of 3800 mAh instead of the stated 5000 mAh, this means that the battery is worn out by 24% and it is worth replacing.

Why can apps show different data?
The difference in readings between AccuBattery and CPU-Z is that they read data from different sensors. AccuBattery uses machine learning algorithms to estimate capacity, and CPU-Z takes raw data from the controller. For accuracy, focus on the average of 2-3 applications.

How to understand that it is time to change the battery: the criteria for wear

Even if the code checks show problems, it doesn't always require immediate battery replacement, but here are the specific criteria for considering a repair:

ParameterCritical significanceWhat does it mean?
Capacity (MB_06 charge counter)< 70% of the passportThe phone discharges 1.5 to 2 times faster than a new one, and the risk of a sudden shutdown at 20 to 30 percent.
Number of cycles (Charging Counter)> 500Lithium-ion batteries are designed to ~500 to 800 cycles, and then the tank drops like an avalanche.
Temperature in plain> 45ยฐCOverheating accelerates battery degradation by 2-3 times, and the controller may malfunction.
Charging time 0-100%< 30 minutes or > 3 hoursToo fast or slow charging indicates problems with the battery or charger.
AppearancesBloating, hissing when chargingTurn off your phone immediately and call the service.

โš ๏ธ Warning: If the battery is swelling (the phone body is convex, the screen is moving away from the frame), do not try to code it or charge it. This can lead to fire! Take the device to the service center or dispose of the device according to the rules for lithium-ion batteries.

๐Ÿ”ง What to do if the battery is worn out, but you do not want to change it yet?

  • ๐Ÿ”Œ Use the original Quick Charge chargers (for your model). Unoriginal power supplies accelerate degradation.
  • โ˜€๏ธ Avoid overheating: Do not leave your phone in the sun, do not play heavy games while charging.
  • ๐Ÿ”‹ Keep the charge in the range of 20-80%.Constant charging up to 100% reduces battery life.
  • โ„๏ธ If the phone is not in use for a long time, store it with a charge of 40-50% in a cool place.

Frequent errors in battery testing and how to avoid them

Many users make mistakes in diagnosing the battery, which leads to inaccurate data or even a deterioration in the battery.

  1. Check immediately after charging. After disconnecting from the mains, the battery calms down for 10-15 minutes, the voltage and temperature stabilize. If you check immediately, the data will be inflated.
  2. Use non-original cables. Cheap cables can distort voltage and current data. Always use the original USB-C or Fast Charge certified cable.
  3. Ignoring temperature: If the battery is hot (above 40ยฐC), all tests will be inaccurate. Let the phone cool to room temperature.
  4. Reset battery statistics. Some optimizers suggest resetting the charge cycle data, so it's not going to restore capacity, it's just going to knock out the calibration.

๐Ÿ’ก Useful Life Hack: If you doubt the accuracy of the readings, conduct a discharge test:

  1. Charge the phone to 100%.
  2. Turn off the energy saving and use your phone as normal.
  3. See how much it'll take to 0%.
  4. Compare it to passport time (for example, for Redmi Note 11 it is ~10-12 hours at an average load).

If the actual time is 30% less than stated, the battery is worn out.

๐Ÿ’ก

If the engineering menu shows MB_06 = 3500 MACh at passport 5000 mAh, and the phone runs out of 4โ€“5 This is a good sign of replacing the battery.

FAQ: Answers to Frequent Questions About Xiaomi Battery Check

๐Ÿ”‹ How often should I check the battery status?
Optimal frequency depends on the age of the device: ๐Ÿ“ฑ New phone (up to 1 year): 1 time in 6 months. ๐Ÿ”„ 1-2 years of use: every 3 months. โš ๏ธ Over 2 years: monthly, especially if you notice an accelerated discharge. MIUI updates โ€” some firmware versions have bugs that increase battery wear.
โ“ Why the #4636## code doesnโ€™t work on my Xiaomi?
Possible reasons and solutions: ๐Ÿ”’ MIUI restriction: Starting with MIUI 13, some diagnostic codes are blocked. Try ##284## or ##6484##. ๐Ÿ“ฑ Custom ROM: If you're using a custom firmware (e.g., Pixel Experience), standard Xiaomi codes won't work. Use ADB instead. ๐Ÿ› ๏ธ Manufacturer mode: On some models (e.g., POCO F5), you need to enable Manufacturer mode via ##64663## first.
๐Ÿ”„ Can you "reset" the counter of charge cycles?
Technically, but it's useless: Resetting the meter won't restore the actual battery capacity. On new MIUI firmware, the meter is only reset via fastboot, which requires unlocking the bootloader. Artificial resetting can knock off the calibration of the charge controller. Instead of resetting the counter, focus on prolonging life with the tips from Section 5.
๐Ÿ’ฅ What to do if the battery is swelling?
Follow these steps immediately: ๐Ÿ”Œ Turn off the phone and do not charge it. ๐Ÿ  Remove the phone from flammable surfaces (e.g., bed, sofa). ๐Ÿ“ฆ Place it in a fireproof container (e.g., metal box) if possible. ๐Ÿ”ง Contact Xiaomi service or a certified repair center. Do not try to replace the battery yourself! A swollen battery is a fire hazard. Even if the phone "works fine," the risk of explosion increases with each charge cycle.
๐Ÿ“ฑ Are these methods working on POCO and Black Shark?
Yes, but with nuances: ๐ŸŽฎ Black Shark: Use ##4636## or ##6484##. Some gaming models (e.g., Black Shark 5 Pro) have additional battery diagnostics in the SharkSpace app. ๐Ÿ”ฅ POCO: All methods from this article work, but on POCO F1/F2, the engineering menu may require enabling Developer Options first. โš ๏ธ Global vs. China ROM: On Chinese firmware, some codes may be blocked. Flashing a global ROM can restore access.