adb shell dumpsys battery
Get battery info in Android.
Current Battery Service state:
AC powered: false
USB powered: true
Wireless powered: false
Max charging current: 500000
Max charging voltage: 5000000
Charge counter: 3367082
status: 2
health: 2
present: true
level: 98
scale: 100
voltage: 4393
temperature: 325
technology: Li-ion