Xiaomi and Redmi have long established themselves as devices with excellent autonomy, but over time, any battery loses its capacity. Users often notice that the phone begins to discharge faster, warms up or holds a charge for a long time. These are the first bells that require attention. However, before carrying the gadget to the service center, it is worthwhile to conduct a self-diagnosis.
There are many ways to assess the state of the battery, from built-in functions to complex computer commands, and we'll look at all the methods available to help you understand the actual state of power consumption of your device, which will allow you to make an informed decision about replacing the battery or optimizing the settings.
It's important to understand that software diagnostics doesn't always guarantee accuracy, but it does provide critical data. The critical indicator of wear is residual capacity below 80 percent of the factory capacity, which often leads to sudden shutdowns. Let's look at how to get this data on your device.
Use of secret MIUI engineering codes
The fastest way to access hidden battery data is to use an engineering menu, with MIUI and the new HyperOS having special diagnostic codes reserved, and type the combination ##6485## in the Phone app, and a technical window will open.
You'll see a lot of parameters in this menu, but we're interested in specific lines. MB_06 — If it says "Good," it means that the chemistry of the cell is fine. MB_00 (the percentage charge level) and MF_02 (number of full charge cycles).
⚠️ Note: Some Redmi models or global firmware versions may not have the code working or show a shortened list of parameters, in which case the system blocks access to detailed data without root permissions.
If the code didn't work, try the alternative combination ##4636##. Here you go to Battery Information. This method is more general for Android, but on Xiaomi it is sometimes hidden by developers for the sake of system security.
Why is the engineering code not working?
Analysis of usage statistics in settings
The standard Android settings provide basic but useful information. Go to Settings → Battery and Performance (or simply “Battery”). This shows a charge graph for the last 24 hours or 10 days.
Notice the surges in the graph, if the charge line falls vertically down without the phone being used, it's a sign of cell degradation or controller calibration, and it'll also show you a list of the power-consumption-leading apps.
- 📊 Analyze screen time: if the charge drops by more than 20% in 1 hour of screen operation, this is an alarming signal.
- 📱 Check background activity: apps consuming charge in the background can mask a real battery problem.
- 🌡️ Watch the temperature: The battery menu often displays the current temperature, which should not exceed the temperature. 40-45°C at rest.
In the same section, the option "Optimize" is often available. Click on it so that the system can conduct a basic check of processes that can cause parasitic discharge. This does not cure physical wear, but helps to programmatically extend the life of the charge.
💡
If the discharge chart looks like a “saw” (sharp drops and small rises), try calibrating the battery: discharge the phone to 0%, then charge to 100% without turning it on, and only then turn it on.
Checking charging and physical wear cycles
The life of any Li-Ion or Li-Po battery is limited to the number of cycles. One cycle is a full discharge of 100% to 0%. If you drain the phone by 50% and charge back, this is considered half the cycle. Usually Xiaomi batteries can withstand 500 to 800 full cycles before significant loss of capacity.
To find out the exact number of cycles without codes, you can use third-party utilities, if you have root rights, or analyze logs. However, an indirect sign of a large number of cycles is battery bloating. If the back of the phone starts to move away or the screen is pushed out of the frame, physical wear is already critical.
| Parameter | Norma. | Critical condition |
|---|---|---|
| Residual receptacle | More than 85% | Less than 75% |
| Charging cycles | 0-400 | More than 600. |
| Temperature in plain | 25-35°C | More than 45°C |
| Voltage (full charge) | 4.35 - 4.45 V | Below 4.2 B |
Remember, the software mapping of percentages can diverge from reality after 500 cycles. The phone can show 20% and turn off after a minute. This means that the nominal voltage under load drops below the control switch off threshold.
Detailed diagnostics via ADB and computer
For users who want to get the most accurate data, the method of connecting to a PC is suitable, USB-cable and installed drivers ADB (Android Debug Bridge. This method allows you to read the logs directly from the power controller.
First, turn on USB debugging. Go to Settings → About Phone → Press 7 times on MIUI Version to activate the developer menu. Then, in the Developer Menu, turn on USB Debugging.
Connect your phone to your PC and enter a command to get battery status in the command line:
adb shell dumpsys batteryThis command will give you the current status, charge level, technology, temperature and voltage. For a deeper analysis, you can use the AccuBattery utility (it takes time to collect statistics) or specialized tools. ADB-file-reader battery_history.
⚠️ Attention: When working with ADB Be careful. Don't type commands you don't understand, especially those that contain the words "reset," "write" or "config," so as not to miscalibrate the charge controller.
Using ADB is especially useful when Xiaomi’s built-in tools don’t show charging cycles.The system logs store the history of all charger connections, and their analysis gives a real picture of operation.
Third-party monitoring applications
The Google Play Store offers a variety of diagnostic applications, one of the most reliable being CPU-Z or AIDA64, which read data directly from Android system files, providing information about current voltage, temperature and fabrication technology.
The AccuBattery app doesn't take the here and now data, it collects statistics, and to get a Health score, you have to sit with the app installed for a few days, periodically charging the phone, and it compares the actual energy pumped to the declared capacity.
- 🔋 CPU-Z: Shows instant technical specifications and current state of the system.
- 📈 AccuBattery: the best tool for assessing long-term wear and real capacity in mAh.
- ⚡ 3C Battery Manager: a powerful tool for advanced users with graphs.
You don't have to install dozens of these programs at once. They consume energy themselves, and they can distort each other's results. Choose one validated application and use it to periodically monitor the condition.
💡
Third-party applications can’t magically fix the battery, but they do give the most honest assessment of its health based on actual capacity, not the system’s calculated data.
Signs of the need to replace the battery
Even without a sophisticated test, the behavior of a smartphone can tell you that the resource is exhausted. If your Xiaomi starts to behave strangely, you can not ignore this. Ignoring the symptoms can damage other components, such as the display plume due to bloating.
One of the main signs is unstable operation at low charge. If the phone turns off by 15-20% or shows a percentage jump (it was 30%, it became 5%), then the internal resistance of the battery has increased, and it can not give current under load.
Also, pay attention to charging times. If you used to charge your phone in an hour, and now it takes 3-4 hours even with the original power supply, this is a sure sign of degradation. The charge controller can't correctly determine the filling phases of the container.