Effective background tasks on Android
summary
Android 12 limits when apps can start foreground services from the background (apps targeting API 31+) and introduces a defer notification for 10 seconds rule to avoid flicker. Data show users see 2 to over 500 foreground-service notifications per day, almost half start from the background, ~70% run under 10 seconds and most sessions under two minutes. For urgent short work the OS offers expedited jobs via WorkManager 2.7 and preserves exemptions like user taps, high‑priority FCM and geofencing; consider non‑expedited WorkManager for longer tasks.
AI-written summary · about
chapters (4)
related talks
36mBackground Work in Android: Strategies and Best Practices
37mA guide to using foreground services and background work in Android 14
28mBest practices for running background work on Android
38mGuide to Foreground Services
38mGuide to Foreground Services on Android
39mModern best practices for background task execution
50mWTF with Android Background Restrictions
33mIs my application taking up too much power?
