On my device, the service in the application is running (its not my application, and I canβt remove it, and my device is not implemented), which always drains the power. I can stop this service in the settings of my devices, but is there a way to stop it programmatically, so I donβt need to do this manually all the time?
Maybe something like stopService (...); works?
Is there a way to change the scheduler to prevent service reboots?
"W/ActivityManager(178): Scheduling restart of crashed service xxxx in 5000ms
source share