adb shell dumpsys

To dump all services

adb shell dumpsys

only list services, do not dump them

adb shell dumpsys -l

Get Android device battery info

adb shell dumpsys battery