mirror of
https://github.com/element-hq/element-android
synced 2024-12-12 05:34:11 +03:00
10 lines
328 B
Bash
Executable file
10 lines
328 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.app true"
|
|
adb shell am set-inactive im.vector.app true
|