To end all background processes, go to Settings, Privacy, and then Background Apps. Turn off the Let apps run in the background.
Is it bad to end all background processes in Task Manager?
While stopping a process using the Task Manager will most likely stabilize your computer, ending a process can completely close an application or crash your computer, and you could lose any unsaved data. It's always recommended to save your data before killing a process, if possible.
How do I stop background processes?
If you have a device running Android 6.0 or above and you go to Settings > Developer options > Running services, you can tap on active apps and choose to Stop (see screen shot in the previous section). You'll see a warning if an app cannot be stopped safely.