mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
11 lines
310 B
Bash
Executable file
11 lines
310 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Ref: https://developer.android.com/training/monitoring-device-state/doze-standby#testing_doze
|
|
|
|
echo "Exit doze mode"
|
|
echo "shell dumpsys deviceidle unforce"
|
|
adb shell dumpsys deviceidle unforce
|
|
|
|
echo "Reactivate device"
|
|
echo "shell dumpsys battery reset"
|
|
adb shell dumpsys battery reset
|