mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
11 lines
332 B
Bash
Executable File
11 lines
332 B
Bash
Executable File
#!/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.riotx true"
|
|
adb shell am set-inactive im.vector.riotx true
|