mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-08 23:55:49 +01:00
12 lines
310 B
Bash
Executable File
12 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
|