adb shell
pm grant <package> android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
cmd appops set <package> RUN_IN_BACKGROUND ignore
cmd appops set <package> RUN_ANY_IN_BACKGROUND ignore
cmd appops write-settings
Created
May 10, 2022 16:17
-
-
Save tzhvh/90b51d0bdf9a2fb6381ba20a96779f1f to your computer and use it in GitHub Desktop.
Keep app alive, safe from doze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment