Translations by gtranslate.io
This is an old revision of the document!
More and more users have been reporting issues with losing GPS signal during track recording when their device goes stand by even in case Locus is set NOT to switch GPS off in stand-by mode (when the display goes off). Some devices even kill Locus completely. All of these reports regard devices running on Android 5+.
The most probable reason of this is some kind of battery saving mode or other performance optimizing setting in your device. The mode can be named differently depending on the device manufacturer. The battery saving modes prevent the device from connecting to networks and switch off your device sensors including GPS unit - this setting overrides Locus settings.
If you experience any loss of GPS signal in stand-by mode, please check your device battery saving or optimization settings. Either switch the saving mode completely or make an exclusion for Locus if it is possible.
Here are a few device specific instructions:
Standard/Extreme Power Saving Mode - switch it OFF
See also https://dontkillmyapp.com/htc »
See also https://dontkillmyapp.com/samsung »
There are several tips. Check out which one fits for your device:
Tips also on Strava support site >>
In Locus Map, better results are with disabled Settings > GPS > Google Services assisted location.
See also https://dontkillmyapp.com/huawei »
Do not use STAMINA mode.
See also https://dontkillmyapp.com/sony »
Switch Battery saver, battery optimization off or exclude Locus from its activity.
See also https://dontkillmyapp.com/google »
See also https://dontkillmyapp.com/xiaomi »
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/.
There are also third-party apps that can maintain your battery optimization and may kill Locus or GPS unit.
Greenify has some special settings (labeled experimental), that enhance new Android 6 power saving strategies. These power saving strategies are labeled “shallow hibernation” and “aggressive doze”. The “aggressive doze” mode contains also a white list of apps that are excluded from the mode and Locus is likely to be put here for the above mentioned reasons. Unfortunately, this white listing does not work. After 5 minutes after your device enters doze mode Locus track recording is killed. Therefore, we recommend not to use this aggressive mode or the app as a whole.
Recently we discovered an application that can lock Locus (and other apps of your choice) in your device RAM. It's called Memory Locker and is available at Google Play Store. We have tested only a few devices with this app and it looks promising. However, as this is a third party app, we have no responsibility for nor influence on the app performance.
This app is able to lock system GPS ON so that the operation system can not kill it - we recommend in cases Locus loses GPS signal in standby mode and none of previously mentioned methods helped. The app is available at Google Play Store >>