I have a rog phone 7 ultimate and background mode works flawlessly if my phone isn't on charge. If I put my phone on charge and go to sleep, when I wake up the game has exited. If I don't put my phone on charge overnight, the game stays in background mode and I wake up to the game still running.
How do I fix this? As I need to charge my phone overnight and I can't as it causes background mode to stop.