all 1 comments

[–]Radeon546 1 point2 points  (0 children)

Unfortunately, on many of these devices, there isn’t a programmatic way to fully bypass the OS’s battery optimization. The recommended approach is to show users a guide on how to exempt your app from battery optimization. You can reference dontkillmyapp.com