Search code examples
androidadb

Is it possible to query device state (ie. battery charge remaining) via ADB shell command?


I'd like to find out various bits of information on an Android device's current status via ADB. Can it be done, and - if so - how?


Solution

  • Try this: adb shell dumpsys battery

    It gives all the battery details.