element-android/tools/tests/doze_mode_enable.sh
2019-06-26 12:19:54 +02:00

7 lines
229 B
Bash
Executable file

#!/usr/bin/env bash
# Ref: https://developer.android.com/training/monitoring-device-state/doze-standby#testing_doze
echo "Enable doze mode"
echo "adb shell dumpsys deviceidle force-idle"
adb shell dumpsys deviceidle force-idle