Hey! I don't know if you still have this problem but I was going through the same thing and finally somewhat fixed it.
Here's the solution:
- Go to Settings
- Go to Apps
- On the top right corner, press the button with the 3 dots
- Go to special access>optimize battery usage>press apps not...