Slide 7
Slide 7 text
JobScheduler
● JobScheduler enables performing background work, esp. networking, in an efficient way.
● Jobs are scheduled based on specified criteria, such as device is charging, idle, connected
to a network, or connected to an unmetered network. They are queued up in the system to
be performed later when these criteria are met.
● Along with this, Android also tries to batch these jobs together to optimize resources.
+ Relatively easier to use & provides customizations for the developer to schedule jobs better
+ Respects device state and prevents exploitation of resources by apps
− Only available on Android Lollipop and above (21+)
− Jobs with network dependency don’t get scheduled if the periodic interval < ~30 seconds
− Jobs stop getting scheduled in Power-Saver Mode if network connectivity is a dependency