android - Doze mode and App Standby -


how can know in app if phone in doze mode or if app in standby mode?

can know using subscribing approach?

you don't need manage standby mode. need manage lifecycle usual. there time in day when app gonna resumed (so can sync data , resume delayed jobs), notifications , alarms bring app out of standby.

check out: https://plus.google.com/+androiddevelopers/posts/76eh5majaxj?linkid=18331776


Comments