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:
- 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)
SCREENSHOTS
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Added 'Device Boot' profile to automate the setting on boot.
- Other: Minor changes.
DOWNLOAD
Task (manual)
Task (XML)
Task (TaskerNet)
Profile (automated)
Profile (XML)
Profile (TaskerNet)
DOWNLOAD (Ads Supported)
Task (manual)
Task (XML)
Task (TaskerNet)
Profile (automated)
Profile (XML)
Profile (TaskerNet)
Thursday, May 28, 2020
[TASK] Toggle Android's Background Process Limit v1.3
May 28, 20206 comments
Related Articles:
[TASK] Toggle Android's Background Process Limit v1.0DESCRIPTION This task will allow you to, by now (*), check the current process limit value set for Android. Found under Developer Options. Notes: - * Current Tasker version (5.8.2) can't toggle that option, due to lack of th… Read More
[TASK] Get Min & Max Volume Steps (all channels) v1.0DESCRIPTION It allows you to get the min and max volume steps of every audio channel from Android OS. CREDITS @SmartPhoneLover DOWNLOAD Task (XML) Task (TaskerNet) DOWNLOAD (Ads Supported) Task (XML) Task (TaskerNet) … Read More
[TASK] Store Pictures Into DB v1.0DESCRIPTION This task will help you to store pictures in raw format (binary) within a db file. So no need to store it externally, and link it. Notes: - It's not recommended, as sql text data type can only store a specific am… Read More
[TASK] Find Matching Pattern(s) Between Two Arrays v1.0DESCRIPTION This task will allow you to find matching pattern(s) between two array() of elements. CREDITS @SmartPhoneLover DOWNLOAD Task (XML) Task (TaskerNet) DOWNLOAD (Ads Supported) Task (XML) Task (TaskerNet) … Read More
[TASK] Android Pie Screen Brightness Workaround v1.1DESCRIPTION As some users reported having problems with the Display Brightness action on Android Pie, on the latest Tasker v5.8.2 version, I have made a workaround task that may help these users. You can track the issue on: … Read More
Getting the following error, pm permission granted:
ReplyDelete05.21.36/E Java Function: am -> am
05.21.36/E Java Function use app context
05.21.36/JU analyse: target: ActivityManager expected: null
05.21.36/JU target: analyse done: ActivityManager: class: android.app.ActivityManager obj: null partWithoutMods: null static: true const false casted: false
05.21.36/JU analyse: returnval: android.app.IActivityManager expected: null
05.21.36/JU returnval: analyse done: android.app.IActivityManager: class: android.app.IActivityManager obj: null partWithoutMods: null static: true const false casted: false
05.21.36/JU initClass: class: android.app.IActivityManager obj: null partWithoutMods: android.app.IActivityManager static: true const false casted: false
05.21.36/JU initClass: retnovar: init with array handling -> interface android.app.IActivityManager
05.21.36/JU initClass: class: android.app.ActivityManager obj: null partWithoutMods: android.app.ActivityManager static: true const false casted: false
05.21.36/JU initClass: target: init with array handling -> class android.app.ActivityManager
05.21.36/Mirror android.app.ActivityManager.getService: unavailable
05.21.36/Mirror android.app.ActivityManager.getService: unavailable
05.21.36/E Java Function: no matching method for getService
{android.app.IActivityManager} ()
05.21.36/E result: stop task (error)
05.21.36/E Error: 1
05.21.36/MacroEdit action finished exeID 2 action no 2 code 664 status: Err next 2
Seems the Android release version you are using doesn't have the required API method, or maybe it was changed. What Android version do you have? (I have created and tested it in Android 10 based OS: Pixel Experience ROM, modified)
ReplyDeleteThere's an invocation error
ReplyDeleteTasker doesn't request, but needs, permission READ_DEVICE_CONFIG.
This doesn't work, same as basically every other thing I've tried using Tasker.
ReplyDeleteHello, sorry for the inconvenience.
DeleteI'm already aware of the error. Other users reported the same.
Currently, I'm in the task of migrating all the content to the new website, so I cannot take attention to 100% to bug reports and projects requests.
Once migrated, I will take a look at this specific task.
Meanwhile, can you tell me what's your device's operating system version, and Tasker version?
I will thank you if you can report it here:
Deletehttps://bug-reports.taskerprofilecenter.com/
Don't forget to write your operating system, tasker version and if you're rooted.