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.
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.
- Open the phone application (standard call).
- Enter the combination: ##4636## (no spaces). Some firmware may require you to press the call button.
- 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:
| Parameter | What does it mean? | Normal values |
|---|---|---|
| Level | Current charge level in % | Corresponds to the indicator in the status line |
| Voltage | Battery voltage in millivolts (mV) | 3700โ4350 mV (depending on model) |
| Temperature | Battery temperature in ยฐC | 20-45 ยฐ C (above 50 ยฐ C - overheating!) |
| Health | Battery 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:
- 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 batteryThis 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 batterystatsThis 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:
- Install the app and allow access to battery statistics.
- Charge your phone from 0% to 100% without interruptions (donโt turn off charging!).
- After full charging, check the Health section - the application will show the real capacity in mAh.
- 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?
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:
| Parameter | Critical significance | What does it mean? |
|---|---|---|
| Capacity (MB_06 charge counter) | < 70% of the passport | The 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) | > 500 | Lithium-ion batteries are designed to ~500 to 800 cycles, and then the tank drops like an avalanche. |
| Temperature in plain | > 45ยฐC | Overheating accelerates battery degradation by 2-3 times, and the controller may malfunction. |
| Charging time 0-100% | < 30 minutes or > 3 hours | Too fast or slow charging indicates problems with the battery or charger. |
| Appearances | Bloating, hissing when charging | Turn 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.
- 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.
- Use non-original cables. Cheap cables can distort voltage and current data. Always use the original USB-C or Fast Charge certified cable.
- Ignoring temperature: If the battery is hot (above 40ยฐC), all tests will be inaccurate. Let the phone cool to room temperature.
- 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:
- Charge the phone to 100%.
- Turn off the energy saving and use your phone as normal.
- See how much it'll take to 0%.
- 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.