Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:help:v2:tracker [2018/09/12 15:20] – [Problems with the track recorder] alpinequesten:help:v2:tracker [2019/03/05 21:58] alpinequest
Line 16: Line 16:
   * Tap on the ''"**Positioning**"'' {{:icon_01.png?nolink}} menu icon and on the ''"**Track recorder toggle**"'' {{:icon_02.png?nolink}}.   * Tap on the ''"**Positioning**"'' {{:icon_01.png?nolink}} menu icon and on the ''"**Track recorder toggle**"'' {{:icon_02.png?nolink}}.
  
-Alternatively, you can:+Alternatively, you can:\\
   * Tap on the ''"**Positioning**"'' {{:icon_01.png?nolink}} menu icon;   * Tap on the ''"**Positioning**"'' {{:icon_01.png?nolink}} menu icon;
   * Tap on ''"**Track recorder**"'' {{:icon_03.png?nolink}} to display the track recorder panel;   * Tap on ''"**Track recorder**"'' {{:icon_03.png?nolink}} to display the track recorder panel;
Line 134: Line 134:
 \\ \\
  
-===== Problems with the track recorder =====+===== How to correctly setup your device for background track recording? =====
 \\ \\
-**Track not recorded when the screen is turned off or when another application is displayed**\\ +In recent Android versions, multiple optimization tools have been added in order to reduce battery usage, especially targeting background applications. For example, the "Doze" mode will stop all applications on your device when your screen is turned off for some time. In order to correctly record tracks even when your screen is turned off, you need to disable those optimizations for the application.
-Lot of recent devices come with a security and battery management application that doesn't allow an application to use the GPS when it's not displayed. Be sure to disable this behavior or grant the permission to use the GPS while in backgroundHere are some examples:+
  
-> For Huawei devices: +{{:icon_help.png?nolink}} Exact steps may vary depending on your device brand and system version.
-> → //Settings > Power usage firewall > Close excessively power-intensive apps// +
-> → //Settings > Lock screen cleanup > be sure the application is not selected// +
-> → //Settings > Apps > Settings (bottom of the page) > Special access > Ignore optimisations > Change to all apps// +
-> For Xiaomi/Vivo devices: +
-> → //Settings > App Settings > Permissions > Autostart// +
-> → //Settings > App Settings > Permissions > Other permissions > Permissions > Start in background// +
-> → //Settings > Battery > Manage apps battery usage > No restrictions// +
-> For other devices: +
-> → //Settings > Battery > Battery Optimization//+
  
-For some devices (like Huawei Mate 10)a system update can also fix this problem.+__Example on Samsung devices__: 
 +  * In your devices settingstap "**''Apps''**" {{:icon_01.png?nolink}}; 
 +  * Tap the top/right menu icon {{:icon_02.png?nolink}} and "**''Special access''**" {{:icon_03.png?nolink}};
  
-**Track incompletely recorded**\\ +{{ :en:help:v2:positioning:tracker-setup-doze-samsung-1.jpg?nolink }}
-Starting with Android 6, when the system thinks the device is not used it can automatically halt running applications for some time to reduce battery usage. During this time (called "doze" mode), the application is no more able to record the track, leading to skipped parts of the pathHopefully, you can prevent this behavior by disabling the doze mode for the application from your system's battery optimisation settings:+
  
 +  * Tap "**''Optimize battery usage''**" {{:icon_04.png?nolink}};
 +  * Tap on the "**''Apps not optimized''**" {{:icon_05.png?nolink}} drop down list and select "**''All apps''**" {{:icon_06.png?nolink}};
 +  * Locate and un-check "**''AlpineQuest''**" {{:icon_07.png?nolink}} do disable optimization for this application.
 +
 +{{ :en:help:v2:positioning:tracker-setup-doze-samsung-2.jpg?nolink }}
 +
 +\\
 +
 +__Example on Huawei devices__:
 +  * In your devices settings, tap "**''Apps''**" {{:icon_01.png?nolink}};
 +  * At the bottom of the applications list, tap "**''Settings''**" {{:icon_02.png?nolink}} and "**''Special access''**" {{:icon_03.png?nolink}};
 +
 +{{ :en:help:v2:positioning:tracker-setup-doze-huawei-1.jpg?nolink }}
 +
 +  * Tap "**''Ignore battery optimisation''**" {{:icon_04.png?nolink}};
 +  * Tap on the "**''Allowed''**" {{:icon_05.png?nolink}} drop down list and select "**''All apps''**" {{:icon_06.png?nolink}};
 +  * Locate and tap "**''AlpineQuest''**" {{:icon_07.png?nolink}}, check the "**''Allow''**" {{:icon_08.png?nolink}} option and tap "**''Ok''**" {{:icon_09.png?nolink}} to validate.
 +
 +{{ :en:help:v2:positioning:tracker-setup-doze-huawei-2.jpg?nolink }}
 +
 +An alternative how-to [[http://www.greenbot.com/article/3112224/android/what-you-need-to-know-about-doze-mode-in-android-nougat.html|is available here]].
 +
 +{{:icon_help.png?nolink}} Depending on your device, you may need to configure additional settings as explained below.
 +
 +\\
 +
 +===== Problems with the track recorder =====
 +
 +==== Track not correctly recorded when the screen is turned off ====
 +On top of the Android battery optimization tools, some brands also include their own tools that may disable the use of GPS or network for background applications, and so prevent the good operation of the track recorder. Be sure to disable those behaviors or grant the application the correct permissions. Here are some examples:
 +
 +__For Huawei devices__:
 +  * In your devices settings, tap "**''Battery''**" {{:icon_01.png?nolink}};
 +  * Be sure not to have activated the "**''Power saving mode''**" {{:icon_02.png?nolink}} or the "**''Ultra power saving''**" {{:icon_03.png?nolink}};
 +  * Be sure not to have the AlpineQuest listed in the "**''Lock screen cleanup''**" {{:icon_04.png?nolink}} list;
 +  * Tap on the "**''Settings''**" {{:icon_05.png?nolink}} icon;
 +  * Un-check "**''Close excessively power-intensive apps''**" {{:icon_06.png?nolink}} to prevent the application from being closed.
 +
 +{{ :en:help:v2:positioning:tracker-setup-huawei.jpg?nolink }}
 +
 +__For Xiaomi/Vivo devices__: ([[https://in.c.mi.com/thread-253478-1-0.html|see here]])
 +  * In your devices settings, tap "**''Battery & Performance''**";
 +  * In the battery saver category, tap "**''Choose apps''**" {{:icon_01.png?nolink}};
 +  * Locate and tap "**''AlpineQuest''**" {{:icon_02.png?nolink}};
 +  * Tap "**''No restrictions''**" {{:icon_03.png?nolink}} to allow the application to run in the background without being closed;
 +  * Tap the top application name {{:icon_04.png?nolink}} to validate and return to the applications list.
 +
 +{{ :en:help:v2:positioning:tracker-setup-xiaomi.jpg?nolink }}
 +
 +__For some other devices__:
 > → //Settings > Battery > Battery Optimization// > → //Settings > Battery > Battery Optimization//
 +> → //Settings > Battery > Manage apps battery usage > No restrictions//
  
-Under "All apps"select "AlpineQuest" and choose "Don't optimize". [[http://www.greenbot.com/article/3112224/android/what-you-need-to-know-about-doze-mode-in-android-nougat.html|More information is available here]].+For some devices (like Huawei Mate 10)a system update can also fix this problem. 
 + 
 +==== The track recorder service stops ====
  
-**The track recorder service stops**\\ 
 In addition of being closed by the system as seen before, some "device/memory cleaner/booster" applications automatically kill background processes. If you use such applications, be sure to add the track recorder service in the exclude list of your cleaning application so it doesn't get killed. In addition of being closed by the system as seen before, some "device/memory cleaner/booster" applications automatically kill background processes. If you use such applications, be sure to add the track recorder service in the exclude list of your cleaning application so it doesn't get killed.
  
-**Loss of the GPS signal**\\+==== Loss of the GPS signal ==== 
 A common issue when recording a track is the loss of the GPS signal, leading to a missing part in the recorded track (seen as a straight line longer than usual). It usually happens because the device doesn't have a good enough access to the sky, for example when the device is placed in a deep pocket or in a bag. The GPS signal emitted by GPS satellites is weak and get easily lost when going through any material. If you have checked "**''Warn me if the GPS signal is lost or too weak''**" {{:icon_03.png?nolink}} option, the application will play a song when this happens. A common issue when recording a track is the loss of the GPS signal, leading to a missing part in the recorded track (seen as a straight line longer than usual). It usually happens because the device doesn't have a good enough access to the sky, for example when the device is placed in a deep pocket or in a bag. The GPS signal emitted by GPS satellites is weak and get easily lost when going through any material. If you have checked "**''Warn me if the GPS signal is lost or too weak''**" {{:icon_03.png?nolink}} option, the application will play a song when this happens.
  
-**Device gets hot**\\+==== Recorded track doesn't precisely follow my real locations ==== 
 + 
 +Some devices perform better than others when using the GPS, depending on the quality of the hardware used and the internal conception (placement of the GPS chip inside the device). Some devices require a stronger GPS signal to give an acceptable accuracy. For example, here is the same track recorded at the same time by two different devices (one in the left pocket, one in the right) during a small outside walk with occasional stays inside buildings. We can see that the Samsung Galaxy S9 {{:icon_01.png?nolink}} performs better than the Huawei P10 Lite {{:icon_02.png?nolink}}. 
 + 
 +{{ :en:help:v2:positioning:tracker-compare.jpg?nolink }} 
 + 
 +==== Device gets hot ==== 
 Tracking a path requires frequent GPS location updates and some devices (mainly old or low-cost ones, but not always) doesn't support the GPS being turned on for long hours. Common symptoms in this case can be: Tracking a path requires frequent GPS location updates and some devices (mainly old or low-cost ones, but not always) doesn't support the GPS being turned on for long hours. Common symptoms in this case can be:
   * The device becomes more hot than usual;   * The device becomes more hot than usual;