This task will allow you to toggle in the background, and check the current process limit value for Android. Found under Developer Options.
- The required permission is already integrated into Tasker, but you will need to grant it manually. Use the following cmd to do so: pm grant net.dinglisch.android.taskerm android.permission.SET_PROCESS_LIMIT.
- As the value will be restored after rebooting the device, you will need to automate it on device boot.
- Standard process limit (-1) could be 10, 15, 20, or whatever the Android manages in the background. In depends on your system.
- Even 1, 2, 3 or 4 are the only available options to be chosen from settings (Developer Options), you can specify any other value higher than 4 if want too. (But, doing so will make the custom values not to be reflected on its settings, only visible by this task)
[TASK] Toggle Android's Background Process Limit v1.3
Check and toggle Android's background process limit.