Unfortunately I have Samsung and Huawei phones, don't know if settings are the same in Nokia, even though the should be very similar.
App suspension could be active even if BAttery optimization is turned off.
Try looking in your Battery menu, and check if some app related to positioning is being put to sleep when sreen is turned off.
In Samsung I see the setting in Battery -> Application Power Saving -> Suspended applications; there is also an option to de-activate suspension of unused apps.
In Huawei, I have Battery -> Start-up, where I can set what apps are being launched/suspended automatically. If an app is set to Manage automatically, I can switch it to "manual mode" and select whether it can be started by other apps or run in background.
I guess in your phone there is some positioning-related service which is automatically disabled after you lock the screen, so you are not able to get the position anymore.
Regards,
Max
Il giorno lunedì 1 giugno 2020 10:28:43 UTC+2, Ben Ji ha scritto:
Anybody?.. snif snif 🥺