Modern smartphones Xiaomi, Redmi and POCO are equipped with batteries of impressive capacity, but over time, users often notice strange behavior of the charge indicator. The gadget may show 100%, and then after a minute sharply drop to 15%, or turn off if there is a โ€œresidualโ€ 20%. This phenomenon indicates a desynchronization between the actual physical energy level in the cells and the app data that is stored in the system statistics file.

The procedure for restoring synchronization is called battery calibration. It is not capable of physically restoring a worn-out chemical element if its resource is exhausted, but it allows the power controller to correctly display the remaining operating time. For owners of devices with a shell MIUI or HyperOS this procedure is especially relevant, since aggressive energy saving algorithms often incorrectly interpret the voltage of old batteries.

In this article we will look at proven setup methods, from simple actions in operating mode to advanced manipulations through the engineering menu. It is important to understand that incorrect actions can lead to system malfunctions, so follow the instructions carefully.

Signs of the need for calibration and diagnostics

Before taking active steps, you need to make sure that the problem lies precisely in a software failure, and not in the physical death of the battery. If your phone is more than 3-4 years old and it discharges in a couple of hours even after being fully charged, most likely capacity the battery has critically decreased.

However, there are specific symptoms that indicate the need for software settings:

  • ๐Ÿ“‰ Sharp jumps in the charge percentage (for example, from 45% immediately to 5%) without an active load.
  • ๐Ÿ”Œ The smartphone does not charge to 100%, getting stuck at 90-95% or showing a full charge after 20 minutes of connection.
  • ๐Ÿ“ฑ The device turns off when the charge is above 10-15%, especially on in the cold or under load in games.
  • โšก The indicator hangs for a long time at one value (for example, 99%) for an hour or more.

For initial diagnostics, you can use built-in tools or third-party utilities. In the engineering menu Xiaomi there is a section that displays the current state of the battery, although the data there may be averaged. More accurate information is provided by applications like AccuBatterythat analyze the actual capacity during operation.

If you notice that voltmeter the system is not working correctly, you should not ignore it. Incorrect data may interfere with the operation of fast charging mechanisms Quick Charge or Power Delivery, since the controller does not see the real voltage to switch modes.

๐Ÿ“Š How does your battery behave?
Drops sharply charge
Switches off at 20%+
Does not charge to 100%
Everything works fine

Preparatory stage and condition check

Before starting the calibration procedure, it is extremely important to prepare the device. This step is often ignored, resulting in incomplete statistics reset. Make sure that no heavy applications are running on your smartphone and that background processes are minimized.

First of all, check the firmware version. Sometimes bugs with the battery indicator are fixed in security updates. Go to Settings โ†’ About phone โ†’ MIUI version and click the check for updates button. If a new version is available, install it before calibration.

You should also check the physical condition of the charging connector. The presence of dust or oxidation of the contacts can lead to intermittent charging, which the system perceives as a capacity error. Gently clean the port USB Type-C with a dry soft brush or wooden toothpick.

โš ๏ธ Attention: If the battery is swollen, heats up to uncomfortable temperatures, or the phone smells like burnt plastic, no software calibration will help. Immediately stop using the device and contact a service center to replace the battery.

๐Ÿ’ก

Before starting the procedure, make a backup copy of your important data. Although the risk of losing information is minimal, any manipulations with system statistics files require caution.

The classic method of discharging and fully charging

The safest and most universal method, suitable for any model Xiaomi, does not require obtaining root access or connecting to a computer. The essence of the method is to forcefully update the file batterystats.bin, which stores the history of charge cycles.

The action algorithm is as follows:

  1. Use the smartphone as usual until it turns off on its own due to low battery.
  2. Try to turn on the device again. If it starts, let it work until the next shutdown.
  3. Connect the original charger to the switched off phone.
  4. Leave the device charging until 100% is indicated. Do not disconnect the cable, even if the screen goes dark.
  5. After reaching 100%, keep the phone on charge for another 1-2 hours to balance the cells.

This process allows the power controller to โ€œseeโ€ the real voltage limits: from the minimum shutdown threshold to maximum saturation. After a complete cycle, turn on the smartphone and check the operation of the indicator. In some cases, the procedure must be repeated 2-3 times in a row.

It is important to note that deep discharge of lithium-ion batteries is not beneficial for their chemical health. Therefore, you should use this method only if there are obvious problems with the charge display, and not as a regular preventative measure.

โ˜‘๏ธ Classic calibration checklist

Done: 0 / 4

Using the engineering menu and special codes

The devices Xiaomi have hidden engineering menu that provides access to advanced diagnostics. Through it you can view detailed information about voltage and temperature, and in some cases initiate a statistics reset.

To enter the menu, use the standard code ##6485##entered through the โ€œPhoneโ€ application. A screen will open with many options. We are interested in the following indicators:

Parameter code Description Normal value
MB_06 Battery condition Good
MB_00 Current percentage charge Corresponds to the screen
MF_05 Calculated full capacity Close to factory
MF_06 Current actual capacity Not lower than 70% of MF_05

If parameter MB_06 shows value Bad or Unknown, this may indicate a physical malfunction or serious failure of the controller. In older versions of MIUI, this menu had a statistics reset button, but in modern builds HyperOS and fresh MIUI this function is often removed for security reasons.

However, viewing this data helps to understand whether the system sees real battery degradation. If MF_06 is significantly less MF_05 (for example, 2000 mAh versus 4000 mAh), then calibration will not return the lost capacity - the battery will need to be replaced.

What to do if the code does not work?

On some global In firmware versions, access to the engineering menu by code may be blocked. In this case, you can try downloading the "Engineering Mode" application from Google Play, but its functionality is often limited compared to the native menu.

Advanced calibration via Recovery Mode

For users who are confident in the technical aspects of Android, there is a more in-depth method of resetting statistics through recovery mode Recovery. This method forcibly clears the battery cache at the system level, ignoring user restrictions.

Before performing these steps, make sure that the device charge is at least 50% so that the phone does not turn off in the process. It is also recommended to disable the lock screen and passwords to avoid problems with loading after resetting.

Procedure:

  1. Turn off the smartphone completely.
  2. Press the Volume Up and Power buttons simultaneously until logo Mi.
  3. In the Recovery menu (control volume buttons, select with power button) select item Wipe Data.
  4. Confirm the action. This will delete all user data, so the method is only suitable for a full reset.

There is an alternative option without data loss if you have root access. Using a file manager with superuser rights (for example, Root Explorer), you can delete a file /data/system/batterystats.bin. After deletion, you must immediately reboot the device.

โš ๏ธ Attention: Deleting system files and logging into Recovery carries the risk of losing data or getting โ€œbrickedโ€ if you act carelessly. Follow these steps only if the classic methods did not help.

After the system boots, the smartphone will begin to generate new statistics from scratch. The first couple of days, the indicators may be unstable until the algorithms collect a sufficient amount of data on energy consumption.

๐Ÿ’ก

The Recovery method with a complete data reset is the most radical, but also the most effective way to eliminate software display errors, since it completely clears the statistics section.

Third-party applications and automation

The store Google Play presents many utilities that promise to โ€œrestoreโ€ the battery. Most of them are a marketing ploy and simply show the charts available in the system. However, there are tools that help to carry out correct calibration automatically.

Applications like Battery Calibration or AccuBattery cannot magically increase the capacity, but they help the user maintain the correct charge-discharge cycle. Some of them can send a command to the system to recalculate statistics if the device has root access.

Without Root access, the functionality of such apps is reduced to notifications. They will tell you when to unplug your charger or when it's time to drain your phone, acting as an external timer for the classic method.

Be wary of apps that require suspicious permissions. Often, advertising modules are hidden under the guise of โ€œbattery doctorsโ€, which, on the contrary, drain the battery with background activity.

Frequent questions and problems after calibration

Even after successfully completing all steps, users may encounter incomprehensible system behavior. Below are answers to the most common questions that arise during the setup process.

Why does the phone quickly discharge immediately after calibration?

This is a normal situation in the first 24-48 hours. The system is re-learned to determine the energy consumption of different applications. Let the smartphone work in normal mode, completing 2-3 full charging cycles.

Is it possible to calibrate the battery on a locked bootloader?

Yes, the classic method of discharging to 0% and charging to 100% works regardless of the status of the bootloader. Access to system files through Recovery while saving data may be limited, but a full reset (Wipe) is always available.

Does calibration affect the warranty?

Software calibration using user methods does not interfere with the hardware and does not void the warranty. However, obtaining root access or unlocking the bootloader for advanced methods may deprive you of warranty service.

What to do if after calibration the phone stops turning on?

Try leaving the device on the original charger for at least 30-60 minutes without trying to turn it on. If the indicator does not light up, perform a forced reboot (long press the power button for 15-20 seconds).

Remember that any software manipulations have a temporary effect. Physical wear and tear of a battery is an irreversible process. If calibration helps only for a week, and then the symptoms return, this is a sure sign that the resource of the chemical element is coming to an end.