Translated from English by gtranslate.io
This is an old revision of the document!
Increasingly, users have reported issues with losing their GPS signal during track recording when their device enters standby, resulting in direct lines instead of accurately recorded tracks. What to do to avoid it?
The operating system must be set for Locus Map NOT to switch GPS off in standby mode (when the display goes off) - always select the All the time permission for Locus Map.
The “all the time” permission is not included in the system app permissions. You can select only “while using this app” or “ask every time”:

When you launch Locus Map and start some feature that runs in the background (voice navigation, track recording, live tracking…), Locus Map displays a compulsory warning:
. Then you are prompted to allow all-time access to the location in the system settings:

This setting, however, is not permanent. After not using the app for some time (e.g., three months), the “all-time” access permission is taken away and you have to go through this procedure again.
This OS version divides permission to access GPS location into three modes:
Battery saving modes or other performance-optimizing settings in your device kill apps they consider unused or redundant, no matter whether the app is running in the background on the user's request. The mode can be named differently depending on the device manufacturer. There are two ways to prevent this - either switch the saving mode completely OFF or make an exclusion for Locus Map if it is possible.
Here are a few device-specific instructions based on findings of Dontkillmyapp.com:
Please visit https://dontkillmyapp.com/htc »
Please visit https://dontkillmyapp.com/samsung »
Please visit Strava support site >> or https://dontkillmyapp.com/huawei » </WRAP>
Please visit https://dontkillmyapp.com/sony » </WRAP>
Please visit https://dontkillmyapp.com/google » </WRAP>
Please visit https://dontkillmyapp.com/xiaomi » </WRAP>
Some devices (e.g. Motorola) enable excluding location service from battery optimization. For more information about battery optimization of other mobile phone vendors, please see https://dontkillmyapp.com/.