VESC Tool mobile app - logging and GPS problem


I have this problem: the mobile app connects properly via BT, reads RT data etc. When I tick RT data logging it works, everything is fine. But when I lock the phone the app is disconnecting and either not logging or logging without GPS data. Two times it stopped logging when locking the smartphone’s screen, one time it logged all trip but with no GPS.

I have set energy savings options as “no limit” for this app.

Any ideas?