

God, I wish. Every Android update seems to undo all of the app run configuration I do on bloatware: disabling background network access, disabling background running, etc. If I can’t uninstall it, I limit the fuck out of it and hope. I wish Android would aggressively kill these things.
However, I get that your issue is that it’s killing stuff you don’t want it to. Are you allowing notifications for background apps? I think that, even in Lineage, to stay active and prevent sleeping an app has to show a persistent notification. I hate the things, since they only clutter the notification lists, but when I disable them the apps don’t stay running.
Hmmm. The last time I had stock was several versions ago. I made a bad choice and have a Samsung now, and it’s always required the persistent notification, or it kills the apps.
That’s not worth much, though. Samsung’s Android is probably the shittiest I’ve used. I’ll be damned if I’m going to replace a perfectly good phone, though; the hardware is good.