Requirements:
Steps:
1. Activate Developer Options: Go to Settings -> About Phone -> Tap MIUI Version 7 times until with pop-up message goes "You are already a developer".
2. Back to Settings menu -> Go to Additional Settings -> Developer Options
3. Scroll down a bit & Turn on USB Debugging & wait 10 seconds, check the disclaimer message and tap OK.
Enable USB Debugging (Security Settings), must link your Mi Account to activate it.
4. Scroll down a bit and search for Wireless Debugging setting
5. Turn on Wireless Debugging & Tap Wireless Debugging to enter to its settings (stay at Wireless Debugging)
6. Then Download & Install LADB apk
7. Open LADB app, it shows Pairing Information
9. Tap Pair with Device in Wireless Debugging, it shows
Input Port (get the last 5-digit port number from IP address & Port & add it to LADB)
Pairing Code (6-digit Wi-Fi pairing code & add it to LADB)
Once it is done, tap Okay in the LADB app to connect to ADB shell (wait 10 to 30 seconds), it creates a command with Success!
10. To show battery information, in shell command, type dumpsys battery without quotes.
Decoding values in response to a command:
1 - issues with reading battery info
2 - charged (not full)
3 - uncharged, but connected to usb or charger
4 - uncharged
5 - Fully charged
* Health also have 5 stages:
1 - Excellent
2 - Good
3 - Normal
4 - Poor (need new battery)
5 - Very bad (need new battery)
Additional note: For accurate measurement, do shell command dumpsys battery for newly calibrated battery (0 to 100% charge)
Screenshots will be uploaded later.
- any Xiaomi/POCO smartphone with Floating window tab feature (window tab in between Wireless Debugging & LADB app during Pair Device)
- LADB app (ρáíd app), use google search
- Must be connected already with any WiFi AP or Tether/Hotspot AP (for Wireless Debugging)
Steps:
1. Activate Developer Options: Go to Settings -> About Phone -> Tap MIUI Version 7 times until with pop-up message goes "You are already a developer".
2. Back to Settings menu -> Go to Additional Settings -> Developer Options
3. Scroll down a bit & Turn on USB Debugging & wait 10 seconds, check the disclaimer message and tap OK.
Enable USB Debugging (Security Settings), must link your Mi Account to activate it.
4. Scroll down a bit and search for Wireless Debugging setting
5. Turn on Wireless Debugging & Tap Wireless Debugging to enter to its settings (stay at Wireless Debugging)
6. Then Download & Install LADB apk
7. Open LADB app, it shows Pairing Information
- Port (get port number by accessing Wireless Debugging)
- Pairing (get pairing code by accessing Wireless Debugging)
9. Tap Pair with Device in Wireless Debugging, it shows
Input Port (get the last 5-digit port number from IP address & Port & add it to LADB)
Pairing Code (6-digit Wi-Fi pairing code & add it to LADB)
Once it is done, tap Okay in the LADB app to connect to ADB shell (wait 10 to 30 seconds), it creates a command with Success!
10. To show battery information, in shell command, type dumpsys battery without quotes.
Decoding values in response to a command:
- Charge counter: only first 4 number you need. I have 3760 (that's mean my battery have 3760 mAh when it fully charged). After you find the current capacity, take the declared capacity from the manufacturer and subtract the current one from it. You will find what is the loss of capacity of your smartphone. Example Mi 9T (4000 mAh - 3760 mAh = 140 mAh this figure is the lost battery capacity, but do not forget about the error in the battery capacity from the manufacturer 0.5%).
1 - issues with reading battery info
2 - charged (not full)
3 - uncharged, but connected to usb or charger
4 - uncharged
5 - Fully charged
* Health also have 5 stages:
1 - Excellent
2 - Good
3 - Normal
4 - Poor (need new battery)
5 - Very bad (need new battery)
- Level - How much is currently charged
- Scale - at what charge will the maximum battery capacity be
Additional note: For accurate measurement, do shell command dumpsys battery for newly calibrated battery (0 to 100% charge)
Screenshots will be uploaded later.
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.