Is my application taking up too much power?
summary
Android implements concrete limits: Android 9 introduces app standby buckets (active, working set, frequent, rare, restricted) and a restricted app can run roughly one job a day and a single alarm; Doze (Android 6+) enforces maintenance windows that batch network, job, and sync work; Android 12–13 tighten foreground-entry and FCM quotas and add a stop control for foreground service notifications. Use WorkManager (including expedited requests) over foreground services for short work, prefer setExactAllowWhileIdle only for true needs, and test with ADB doze/standby commands plus battery stats/Battery Historian.
AI-written summary · about
chapters (6)
- 0:00Introduction to battery life
- 5:57Android power management
- 17:14Background work best practices
- 26:49Testing power consumption
- 28:56Power consumption quiz
- 31:53Summary and resources
related talks
21mImproving battery life with restrictions
28mBest practices for running background work on Android
11mEffective background tasks on Android
22mPower optimization for Android
36mBackground Work in Android: Strategies and Best Practices
26mDon't let your app drain your users' battery
37mA guide to using foreground services and background work in Android 14
30mApp Standby vs. Doze: Understanding System Sleep
