If instead of googling for 15 seconds you had any real experience about developing apps that need to run in the background (like I do), you would know that this 'background running' is a joke.
The only way to run an app non-stop is to have a persistent notification. And even then, apps are killed off left and right by the likes of Samsung. See https://dontkillmyapp.com for more details