Skip to content

Instantly share code, notes, and snippets.

View msm81's full-sized avatar
🏠
Working from home

Mohammad Sina Moradi msm81

🏠
Working from home
View GitHub Profile
@msm81
msm81 / doze_and_app_standby_adb_command.txt
Created April 4, 2020 14:23
ADB commands to test Doze mode and App Standby in android
Test Doze mode (Idle mode) =>
-> Enable Doze mode (may be required on Emulator)
adb shell dumpsys deviceidle enable
-> Force the system into idle mode
adb shell dumpsys deviceidle force-idle
-> Exit idle mode
adb shell dumpsys deviceidle unforce