Setting this option forces Android to stop each process as soon as it is empty (that is, when no services are started and no activities are on screen for that app).
To be clear: this option won't stop apps that would normally run in the background from doing so. Your mail client will still run periodically to check mail, if it's configured to do that. Apps that use Google Cloud Messaging to receive push messages from Internet servers (such as Gmail and Facebook) will still be able to do so. The option would be better named "Cached background process limit", since it limits apps that would otherwise show up with that label in the apps manager.
This should lead to your phone working faster.
It might use slightly more or less battery, since it'll use some power to unloading apps from memory earlier than Android usually does it.
The battery impact will depend on your personal usage; If your device doesn't have much ram and/or you don't only use the same few apps all the time, you should get a small battery boost. If you only use the same few apps all the time, you might experience a larger battery drain (from unloading and reloading the apps from memory every time).
Because this is a development option, it can also trigger rare bugs in certain apps, and those apps' developers may not be keen to fix them. One example is that, on Nexus devices running 4.2.2, when this option is on, the in-built Calendar app will keep restarting itself with this option set, because stopping the cached background process causes the calendar's content provider to be removed, which causes a loop of services restarting each other to check for calendar updates. If this happens, the loop will run down your battery very quickly.
Automation
The setting will be reset every time your device is shut down. If you want to automate setting your preference at boot, you can use tasker with this task: https://taskernet.com/shares/?user=AS35m8mXwt%2Bxy%2Bkh8K4BRW8pJsHtAYqKGwf%2F0NNidJ2TYe0iDRQsJInNDFFMCPaPm1pYHKuaTMU%3D&id=Task%3AToggle+Background+Process+Limit
You will need to give tasker »Set proces limit permission« using adb with
adb shell pm grant net.dinglisch.android.taskerm android.permission.SET_PROCESS_LIMIT
.
Source: https://www.reddit.com/r/tasker/comments/cn5ufe/task_toggle_androids_background_process_limit/