How To Check Your Battery Health Via ADB – Works On Any Android Device | No Root
Open command prompt (cmd) on PC. You need to open the CMD in the ADB folder, so it will make things easier.
Type “ADB shell” and connect your phone to your PC. If the drivers are installed properly, the PC will promptly detect the phone and you will see the device codename on the command prompt.
If everything is correct, type “dumpsys battery” and enter.
To check the battery health percentage, you need to use a math formula. You need to use the following formula: (actual capacity / current capacity) *100. For example, the formula here considers the Pixel 4 battery of 2,800 mAh. So the math is (2386 / 2800) *100. As a result of the calculation, the battery health is 85 percent, but the data may not be 100 percent accurate. As said before, the most accurate results come with a fully-charged battery.