What is the difference between “optimize battery usage” vs “never sleeping apps”?
This craziness about battery optimization is making every small developer app to not work properly in the background.
I try to use the standar Android intents to stop my app from being optimized using the “android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS” intent.
But if I do this then the app disappears from the “never sleeping apps” list. Of course, if the app is not in that list then the app is killed in the background.
Could any one show some light here? What is Samsung expecting for us (smaller developers) to do if we need our app to not be killed by the system?
Is there any intent to directly show users the “never sleeping” screen?