I use BroadcastReceiver of ACTION_BATTERY_CHANGED to get an event every time the battery is 50%. I can't declare ACTION_BATTERY_CHANGED in manifest, so I declared the BroadcastReceiver in a Service (START_STICKY).
But, when I remove the app from recent apps screen the BroadcastReceiver stops getting battery change events. How can I keep it in background?
*In many apps that show battery percent in status bar, the percent is updated while the app is closed. How?