googlearchive / firebase-jobdispatcher-android

DEPRECATED please see the README.md below for details.
Apache License 2.0
1.79k stars 208 forks source link

Not working when phone is idle #272

Closed ghost closed 5 years ago

ghost commented 5 years ago

It working perfectly when app close, some time delay,it not a matter but job schedular not working when phone going to idle state

arutkayb commented 5 years ago

I checked the Battery Optimisation option on my phone options and see that my application is optimized by the phone. So, background services have been having problems with waking up. I set the "not optimize" option and see services are working fine.

toddshansen commented 5 years ago

FJD is one of the things deferred during doze mode. More info: https://developer.android.com/training/monitoring-device-state/doze-standby