2019-06-19 10:46:59 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Ref: https://developer.android.com/training/monitoring-device-state/doze-standby#testing_your_app_with_app_standby
|
|
|
|
|
|
|
|
echo "Standby OFF"
|
|
|
|
echo "adb shell dumpsys battery reset"
|
|
|
|
adb shell dumpsys battery reset
|
|
|
|
|
2019-07-02 17:27:08 +02:00
|
|
|
echo "adb shell am set-inactive im.vector.riotx false"
|
|
|
|
adb shell am set-inactive im.vector.riotx false
|