mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 18:05:59 +03:00
8 lines
229 B
Bash
8 lines
229 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Ref: https://developer.android.com/training/monitoring-device-state/doze-standby#testing_doze
|
||
|
|
||
|
echo "Enable doze mode"
|
||
|
echo "adb shell dumpsys deviceidle force-idle"
|
||
|
adb shell dumpsys deviceidle force-idle
|