Focus session fails when charging phone


Very frustrating, this has been happening for months.

I start a focus session. Turn off my phone and out it on recharge. I come back, I get notification that my session is complete but the game is not running. I open the game and the session only went for a few sec before it failed. I have given it permission. This happens at random from what I can tell.

Android. Xaiomi mix 2.