Owners of Xiaomi smartphones are often faced with a situation where the standard battery icon in the status bar shows only a schematic image of the charge without numbers. This creates some uncertainty, especially when the charge drops below 20%. The user has to guess how much time is left before the device is completely discharged, which can lead to a sudden shutdown at the most inopportune moment.
Fortunately, the shell MIUI and its modern version HyperOS provide many tools for monitoring power status. We will look at not only basic methods for displaying percentages in the curtain, but also ways to obtain detailed technical statistics hidden from ordinary view. A deep understanding of these settings allows you to more effectively plan the use of the gadget.
In this article we will analyze in detail the algorithms of actions for different firmware versions. You will learn how to activate the digital charge value through the standard menu, as well as how to access hidden data through engineering codes and computer utilities. This knowledge is necessary for accurate calibration and diagnostics.
Activating the display of percentages in the status line
The simplest and most obvious way to see the exact charge value is to enable the corresponding option in the interface settings. In the latest versions MIUI the developers have slightly changed the location of this item, moving it to the battery section. First, you will need to open the application Settings on your device.
Next you need to scroll down the list and find the item related to power. Depending on the version of the shell, this section may be simply called “Battery” or located inside the “About phone” tab in the advanced settings. Usually the path looks like a transition to the energy management menu.
Inside the section, find the switch responsible for visualization. It may be labeled as “Battery Percentage” or have an icon with numbers. Activating this toggle switch will instantly add a numerical value next to the battery icon at the top of the screen.
- 🔋 Open
Settingsand go to Battery. - 📱 Find the switch Charge percentage at the top of the screen.
- 👁️ Select the display format: inside the icon or next to it.
It is worth noting that on some models with a cutout in the screen (droplet camera or hole), the system can automatically hide percentages if they do not fit in the status line. In this case, try changing the display style to “Inside icons” so that the numbers are always visible.
If the switch is inactive (gray), check if the “Ultra-energy saving” mode is enabled, which blocks changes to some visual interface parameters.
Using desktop widgets for monitoring
An alternative and more visual way of control is to use widgets. The lock screen and the main desktop support the placement of large-format elements that show not only the current percentage, but also the time until fully charged or discharged. Xiaomi support the placement of large-format elements that show not only the current percentage, but also the time until full charging or discharging.
To add such an element, you need to hold down an empty space on the desktop until the editing menu appears. Select Widgets and scroll down to the battery section. Here you will find several design options: from minimalistic circles to detailed panels with graphs.
Some widgets require special permissions to be enabled in the “Advanced Settings” or “Accessibility” section. This is necessary so that the widget can read system information in real time and update it without delay.
| Widget type | Displayed information | System requirements |
|---|---|---|
| Standard | Only charge percentage | No |
| Extended | Percentage, temperature, voltage | Access to statistics |
| 10 style | Large number in the center | Theme |
| Graphic | Discharge curve for 24 hours | High version of Android |
Using widgets is especially convenient on tablets Xiaomi Pad or smartphones with large diagonals, where screen space is not a critical resource. You can place the indicator in a convenient place to monitor the status of the device without unlocking it.
Viewing detailed statistics in the battery menu
If just seeing the current percentage is not enough for you, and you want to understand which applications are consuming the most energy, you should turn to the built-in analyzer. The battery statistics menu provides a detailed report on expenses for the last day or week.
Go to the battery settings and click on the “Statistics” button or the graph icon. The system will show a list of processes sorted in descending order of consumption. Here you will see not only the usage percentage, but also the screen time and background activity time.
Pay attention to the “Standby consumption” section. If this number is abnormally high, there may be an application preventing the device from going into deep sleep. This is a common cause of rapid discharge, which can be easily identified through this interface.
⚠️ Attention: Data in statistics may be updated with a delay. If you have just charged the phone, the graph may not yet display a complete picture of consumption for the current cycle.
An optimization function is also available in this section. The system will automatically offer to limit background activity for apps that have been identified as “gluttonous”. You can accept the recommendations or manually set limits for each application individually.
Battery statistics are the best tool for identifying hidden processes that are draining the phone, even when the screen is off.
Engineering menu and hidden diagnostic codes
For users who need technical information not available in the regular interface, there is an engineering menu. This is a hidden section of the system, intended for testing equipment by service centers, but also accessible to ordinary owners through a set of special codes.
To get to this section, open the “Phone” application (dialer) and enter the combination ##6484##. The CIT (Customer Integration Test) menu will appear on the screen. Here you can check the functionality of all sensors, including the battery.
Find the item related to the battery (usually it is called Battery info or has a battery icon). When you go to this section, you will see the current voltage, cell temperature, health level (Health) and the exact percentage of charge, which may differ from that displayed in the status line by 1-2%.
##6484## — entrance to the CIT engineering menu
##4636## — alternative testing menu
Usage The engineering menu is safe if you are just browsing the information. However, you should not change the settings in other sections of this menu without understanding their purpose, as this may lead to incorrect operation of the radio modules or sensors.
What to do if the code does not work?
Some telecom operators or custom firmware may block the entry of engineering codes. In this case, try using launcher applications with a code typing function or third-party utilities to call up the testing menu.
Monitoring via computer and ADB commands
The most accurate way to get battery data is to connect your smartphone to the computer and use the debug bridge ADB (Android Debug Bridge). This method allows you to output raw data directly from the system kernel, bypassing the graphical shell.
First you need to activate developer mode. Go to Settings → About phone and quickly click 7 times on the “MIUI Version” item. After this, a new section “For Developers” will appear in the advanced settings, where you need to enable “USB Debugging.”
Having connected the phone to the PC, open the command line or terminal in the folder with the ADB utility. Enter a command to query the battery status. The system will return a detailed data dump, including charge level, connection status, power type, and temperature.
adb shell dumpsys battery
In the command output, look for a line levelthat shows the exact percentage, and a line scalethat indicates the maximum capacity (usually 100). A parameter will also be indicated status, where number 2 means charging, and 3 means disconnecting from the network.
- 💻 Install ADB drivers on your computer.
- 🔌 Connect your smartphone with a cable and enable debugging.
- 📝 Enter the command
adb shell dumpsys batteryin the terminal.
This method is indispensable when diagnosing problems with the power controller when the readings on the screen “jump” or freeze. The computer receives data directly from the controller, which eliminates software interface errors.
⚠️ Attention: The USB debugging interface should be disabled immediately after diagnostics. Leaving this mode active reduces the safety of the device when connected to public charging stations.
Third-party applications for in-depth analytics
When the built-in tools are not enough, specialized applications from the store come to the rescue. Google Play. apps like AccuBattery or Battery Guru use machine learning algorithms to analyze battery behavior over a long time.
These utilities are able to calculate the actual battery capacity in mAh, comparing it with factory specifications. This allows you to determine the state of health of the battery (SOH), which is critical for devices older than two years.
Applications also provide calibration functions. They recommend discharging the phone to a certain level and charging it to 100% so that the power controller correctly determines the capacity limits. This helps eliminate the problem when the phone turns off at 10-15% charge.
☑️ Criteria for choosing an application for the battery
However, it is worth remembering that installing such apps itself consumes resources. Constantly polling sensors in the background can increase energy consumption by 3-5%. Therefore, they should be used in courses for diagnostics, and not on an ongoing basis.
Why may the charge percentage be displayed incorrectly?
Incorrect display is often associated with a failure in the calibration of the power controller or wear of the chemical cell. Also, the reason could be a poor-quality firmware update that messes up the system configuration files.
How often do you need to calibrate the battery on a Xiaomi?
Modern lithium-polymer batteries do not require regular calibration. It is enough to carry out a full discharge and charge cycle once every 3-6 months if you notice a discrepancy between the indication and the actual operating time.
Does turning on percentages affect the operating time of the phone?
No, displaying numbers in the status line is a purely software change in the interface. It does not use additional processor or screen resources and does not in any way affect the autonomy of the device.
Is it possible to find out the exact wear and tear of a battery without root access?
Yes, using applications like AccuBattery you can get an estimate of wear after a couple of weeks of use. It is more difficult to obtain accurate data from system logs without root access, but the assessment of third-party utilities is usually quite accurate for everyday needs.