Battery status code


Franch

Members
Jan 21, 2022
173
40
Hi
Xiaomi phones have a code to show battery status, it is *#*#6485#*#*
There is a list of battery data that are shown in display. One of them is MF_02, that shows battery charging cycles.
But in my Mi 11 Pro, with Stable MIUI13 over A12, this item is missing (see picture attached).
Any other way to display this info?
 

Attachments

  • Screenshot_2022-07-29-12-47-50-325_com.bsp.catchlog.jpg
    Screenshot_2022-07-29-12-47-50-325_com.bsp.catchlog.jpg
    819.8 KB · Views: 981
Different device, same problem.
The code for battery status (*#*#6485#*#*) works in my Mi 11 Ultra with MIUI14 Stable ROM. (see image). But MF_02, that shows battery charging cycles, doesn't appear.
Does anybody know how to check battery charging cycles?
 

Attachments

  • Screenshot_2024-01-17-12-46-48-514_com.bsp.catchlog.jpg
    Screenshot_2024-01-17-12-46-48-514_com.bsp.catchlog.jpg
    810.4 KB · Views: 306
You don't know the number of cycles, but you can find out what % capacity your battery has.

- charge the battery to 100%
Commands:
adb shell
dumpsys battery

- find the line Charger counter in the statement and round the number to 4 digits - this is the current value of the battery capacity
- to obtain the percentage of the battery, divide the obtained number by the value of the new battery (5000 mAh) and then multiply by 100
example: 3900 : 5000 = 0.78 * 100 = 78% of new battery capacity.