Loading docs/html/training/monitoring-device-state/doze-standby.jd +11 −6 Original line number Diff line number Diff line Loading @@ -283,7 +283,7 @@ minutes per app.</p> <p> High-priority GCM messages do not otherwise affect Doze mode, and they don’t affect the state of any other app, This means that your app can use them to communicate affect the state of any other app. This means that your app can use them to communicate efficiently while minimizing battery impacts across the system and device. </p> Loading Loading @@ -377,13 +377,18 @@ matches the <a href="#whitelisting-cases">acceptable use cases</a> for whitelist <li>Run your app and leave it active. </li> <li>Shut off the device screen. (The app remains active.) </li> <li>Force the system to cycle through Doze modes by running the following commands: </li> <pre class="no-pretty-print">$ adb shell dumpsys battery unplug $ adb shell dumpsys deviceidle step $ adb shell dumpsys deviceidle -h</pre> <pre class="no-pretty-print"> $ adb shell dumpsys battery unplug $ adb shell dumpsys deviceidle step</pre> <p>You may need to run the second command more than once. Repeat it until the device state changes to idle.</p> </li> <li> Observe the behavior of your app after you reactivate the device. Make Loading Loading
docs/html/training/monitoring-device-state/doze-standby.jd +11 −6 Original line number Diff line number Diff line Loading @@ -283,7 +283,7 @@ minutes per app.</p> <p> High-priority GCM messages do not otherwise affect Doze mode, and they don’t affect the state of any other app, This means that your app can use them to communicate affect the state of any other app. This means that your app can use them to communicate efficiently while minimizing battery impacts across the system and device. </p> Loading Loading @@ -377,13 +377,18 @@ matches the <a href="#whitelisting-cases">acceptable use cases</a> for whitelist <li>Run your app and leave it active. </li> <li>Shut off the device screen. (The app remains active.) </li> <li>Force the system to cycle through Doze modes by running the following commands: </li> <pre class="no-pretty-print">$ adb shell dumpsys battery unplug $ adb shell dumpsys deviceidle step $ adb shell dumpsys deviceidle -h</pre> <pre class="no-pretty-print"> $ adb shell dumpsys battery unplug $ adb shell dumpsys deviceidle step</pre> <p>You may need to run the second command more than once. Repeat it until the device state changes to idle.</p> </li> <li> Observe the behavior of your app after you reactivate the device. Make Loading