Closed
Description
We drain the battery too fast. We should:
- keep device screen off, while not building
- alert when battery level goes below 70%
Available tools
This tells you if the device is awake or not (Display Power: state=ON
is another potential option):
adb shell dumpsys power | grep 'mWakefulness='
This virtually presses the power button (hence the need to check wakefulness first):
adb shell input keyevent 26
This virtually unlocks the screen:
adb shell input keyevent 82
This tells you the battery level:
adb shell dumpsys power | grep 'mBatteryLevel='
Metadata
Metadata
Assignees
Labels
No labels