dont-kill-my-app
dont-kill-my-app copied to clipboard
Feedback for AOSP (Pixel, Nexus...) page
We may have a new default battery saving machanism in Android 12 and above https://www.xda-developers.com/android-12-background-app-limitations-major-headache/
"In Android 12, though, it was discovered that a mechanism to monitor forked child processes started by apps and kills them if they consume too much CPU if the app is in the background (via Mishaal Rahman) was introduced. It also limits the number of child processes that parent processes can spawn to 32, which greatly limits the number of operations an app can complete in the background. This 32 child process limit is actually across the entire system, not just per app, meaning that other apps with child processes will contribute to that limit as well."
@rzetzsche this is very interesting...many thanks for sharing this.. do you which use-cases are affected by this?
do you which use-cases are affected by this?
@petrnalevka It's detailed at https://gist.github.com/agnostic-apollo/dc7e47991c512755ff26bd2d31e72ca8 and issue opened at https://issuetracker.google.com/u/1/issues/205156966.
can be fixed in 12L with adb, shizuku, or root. i tested it myself on my new Pixel 6 (tutorial)