Tasker [TASK] Toggle Android's Background Process Limit v1.3

Check and toggle Android's background process limit.

  1. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
    SmartPhoneLover submitted a new AutoApps project:

    Toggle Android's Background Process Limit - Check and toggle Android's background process limit.

    Read more about this project...
     
  2. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
  3. JTibrewala

    JTibrewala New Member

    Joined:
    Jan 1, 2017
    Messages:
    5
    Likes Received:
    0
    What is the use case for this? What is the normal limit? And under what circumstances would you change it, and to what value? Under what circumstances would you restore it to its original value?
     
  4. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
    Hi, and sorry for the delay.

    What is the use case for this?
    It just was a request from a user, but I thought in using it in a project that serves to test apps internaly too (debugging). (didn't start working on it yet)
    What is the normal limit?
    I think it changes from device to device. But not sure. But the default is higher than the options offered in such option. (8, 10, 15, or more)
    Under what circumstances would you change it, and to what value?
    This action, as the others located under Developer Options, is just intended to debug something if you are a developer (OS or apps).
    But, if you will just use it as a normal user, it will allow the device to free up a little RAM. As it won't handle more than n number of background processes at a time, killing them immediately after closing the app activity or in case of its services are not launched again. Also, the device will go, again, a little smoother.
    You decide the number of processes to keep running.
    Under what circumstances would you restore it to its original value?
    It is restored to defaults every time the device is rebooted. So, always. That's why the task helps you to automate it, to avoid going to dev options repeatedly.
     
    Last edited: Sep 23, 2019
  5. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
  6. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
  7. b.q

    b.q New Member

    Joined:
    Dec 4, 2020
    Messages:
    1
    Likes Received:
    0
    keep getting an error.
    Tasker can't find ActivityManger.getService()
    its on nougat
     
  8. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    162
    Likes Received:
    10
    Hi, sorry about that. Maybe the API method that the task calls, doesn't exist in Nougat. I created it using Android 10 (modified version of Pixel Experience ROM).
     

Share This Page