mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-27 10:03:06 +01:00
11 lines
346 B
Bash
11 lines
346 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Ref: https://developer.android.com/training/monitoring-device-state/doze-standby#testing_your_app_with_app_standby
|
||
|
|
||
|
echo "Standby ON"
|
||
|
echo "adb shell dumpsys battery unplug"
|
||
|
adb shell dumpsys battery unplug
|
||
|
|
||
|
echo "adb shell am set-inactive im.vector.riotredesign true"
|
||
|
adb shell am set-inactive im.vector.riotredesign true
|