I had this problem constantly since getting a phone with Android 10 or later.
If the screen is off, can't open the car or drive it.
Turn on app with screen on, works perfect.
I set not to background the app, but I think Android 10 and later is very aggressive with app backgrounding (to save...