Android 5.0 internals and our inferiority complex
summary
Lollipop’s JobScheduler is a system service that registers jobs (JobInfo) with simple constraints, persists them as XML in /data, and uses small controller components (battery, network, time, idle) implemented as broadcast receivers. The idle controller sets an alarm on screen-off and flips idle after 71 minutes, while stable charging is treated as connected for 2 minutes before triggering jobs. A compatibility library mimics behavior per app using AlarmManager, and GCM Network Manager provides a Play‑services alternative.
AI-written summary · about
chapters (6)
- 0:00Start
- 4:04The APIs arms race
- 14:56Battery Controller
- 17:54JobSchedulerCompat
- 21:53Idle mode
- 25:50The "idle" state algorithm
related talks
34mDoo z z z z z e
28mBest practices for running background work on Android
50mWTF with Android Background Restrictions
42mBuilding for Android O
30mApp Standby vs. Doze: Understanding System Sleep
21mImproving battery life with restrictions
33mIs my application taking up too much power?
39mModern best practices for background task execution
