If you are getting the following message:
The app was terminated by the System, therefore it could not run in the background.
If you periodically clean the list of recently used apps, be sure to lock Sound Profile from that cleaning.
Some Android versions allow users to clean the recently used apps. This will free memory but it will kill all apps with services in the background.
The system displays a list of the recent used apps when pressing the “Overview” button.
It also displays a “Clear all” or similar option to close all those apps.
The problem here is that it also kills the background services of those apps.
It is highly recommended to avoid Sound Profile background service to be killed. It is very simple, just need to see the options you have on that list to “lock” apps from being destroyed.
Depending on the Android manufacturer and version, this can be different, but basically is to select Sound Profile from the list and tapping on the “lock” icon (maybe long pressing on it).
From now on, when clearing the recent used apps, Sound Profile background services will not be affected.
This is an example for a Xiaomi device: