DESCRIPTION
This task will allow you to toggle in the background, and check the current process limit value for Android. Found under Developer Options.
Notes:
- Current Tasker version (5.8.3+) can't toggle that option, due to lack of the 'android.permission.SET_PROCESS_LIMIT' permission on its AndroidManifest. But the request is done, and accepted by the dev. So, as I don't know when this will be implemented officially, here you can download a test build that the dev sent to me, including the required permission, if you need it to be implemented in your projects asap.
CREDITS
@SmartPhoneLover
CHANGELOG
- Other: setProcessLimit() action enabled, as Tasker (test build) now has the required permission. (5.8.x+)
- Other: Changed task name.
DOWNLOAD
Task (XML)
Task (TaskerNet)
DOWNLOAD (Ads Supported)
Task (XML)
Task (TaskerNet)
Sunday, September 15, 2019
[TASK] Toggle Android's Background Process Limit v1.1
September 15, 20193 comments
Related Articles:
[TASK] Get Multimedia Metadata (JF) v1.1DESCRIPTION It will allow you to retrieve a lot of information regarding incrusted metadata from audio, image and video files. You can use it in the following ways: · To analize a file from another task, using '%(par#)' vari… Read More
[TASK] Toggle Android's Background Process Limit v1.2DESCRIPTION This task will allow you to toggle in the background, and check the current process limit value for Android. Found under Developer Options. Notes: - Even the permission is now integrated into Tasker's AndroidMani… Read More
[TASK] Talking Clock v1.3DESCRIPTION Set of tasks that will let you know the current time. Features: - 12/24h - Formal & Informal Languages: - English (ENG) - Spanish (SPA) Notes: - All is bundled in a single project file, so import it as a pr… Read More
[TASK] MIUI Screen Recorder Intents v1.0DESCRIPTION Intents (broadcast and control) for the MIUI Screen Recorder app, included in all Xiaomi devices. Notes: - All is bundled in a single project file, so import it as a prj. CREDITS @SmartPhoneLover DOWNLOAD Task … Read More
[TASK] Auto Switch Keyboard v1.2DESCRIPTION Various ways by wich you can select specific keyboard to use, on per-app, or whatever context you want. Notes: - Works on root and non-root devices. CREDITS @SmartPhoneLover CHANGELOG - Fix: Some small configur… Read More
Thanks for this!
ReplyDeleteThis task has another use: overcoming the ridiculously tiny process limit set on modern phones in the name of battery conservation, WITHOUT ROOT. Today's phones with Android Pie and above have 3GB memory or more, yet severely restrict the number of background processes. This makes them peppy and allows for longer battery life (in theory), but background tasks just can't run, making these devices fairly useless for us power users.
So I used this task to set the process limit high (64), and now my background tasks and services can run freely! The phone still has a needlessly high low-RAM limit (which I can't touch without root), but it's a LOT better behaved.
This task is now part of my startup tasks. I had to give Tasker access to the SET_PROCESS_LIMIT permission from ADB, which is a one-time step that survives reboot.
Ohh, didn't think about trying higher values, other than 4 haha. It just worked. Need to test deeper.
DeleteI will update the task including such info.
Thank you very much for letting it me know 😉🤝
Ok, changed it. (v1.3)
Deletehttps://taskerprofilecenter.blogspot.com/search?q=Toggle+Android%27s+Background+Process+Limit