diff --git a/docs/html/training/monitoring-device-state/doze-standby.jd b/docs/html/training/monitoring-device-state/doze-standby.jd index baaed7b0ff1ef..4eb681fb30ca3 100644 --- a/docs/html/training/monitoring-device-state/doze-standby.jd +++ b/docs/html/training/monitoring-device-state/doze-standby.jd @@ -3,7 +3,8 @@ page.metaDescription=Test and optimize your app for the power-saving features in page.tags=doze, app standby, marshmallow, alarms meta.tags="battery", "marshmallow", "alarms" page.image=images/cards/card-doze_16-9_2x.png -page.article=true + + parent.link=index.html trainingnavtop=true @@ -204,22 +205,13 @@ Standby you can set alarms that will fire even if the device is in Doze.

-

The system places certain restrictions on alarm frequency:

- - + android.app.PendingIntent) setAndAllowWhileIdle()} nor {@link + android.app.AlarmManager#setExactAndAllowWhileIdle(int, long, + android.app.PendingIntent) setExactAndAllowWhileIdle()} can fire alarms more than once per 15 +minutes per app.

The Doze restriction on network access is also likely to affect your app, @@ -466,14 +458,6 @@ $ adb shell am get-inactive <packageName> - - Calendar or timer app - Needs to notify user - - Not acceptable - Use {@link android.app.AlarmManager} and {@link android.app.job.JobScheduler} - APIs to optmize notifications, sync, etc. -