4 ms·
The upcoming Android O update introduces standard limits on background tasks very much like these manufacturer "optimizations": https://developer.android.com/p
by veeti 9y ago
The upcoming Android O update introduces standard limits on background tasks very much like these manufacturer "optimizations":
https://developer.android.com/preview/features/background.html https://developer.android.com/preview/features/background.ht...
The difference is that these limits have defined guarantees for developers: cloud push notifications can still wake up an app, apps can schedule periodic jobs to be batch executed and background services can stay alive using an ongoing notification when necessary. Right now, some distributions like MIUI will cripple your app entirely unless the user disables "battery optimization" for it, no matter what you do.