The App has stopped recording and a straight line appears on the trail

Don't have the Wikiloc App yet?  Get it here!

Have you recorded a trail which track has a straight line?
Did the App stop recording while you were doing a trail?

Most Android devices have optional energy-saving systems which automatically stop Apps that are running in the background when they need resources.

Some mobile manufacturers activate this energy-saving system by default.
In order to avoid bad experiences while recording a trail with your Wikiloc App, we have added a new App mode called " uninterrupted recording" which will try to keep your app up and running when you're recording a trail.
The App will suggest you activate this mode when it detects that the device stopped recording. If you accept, it will activate every time you follow or record a trail.

You can also manage this option from your profile -> settings -> uninterrupted recording

This method can spend a bit more battery, activate it only in case of need (if manual methods did not work). 

Manual methods:

Changing your smartphone's battery-optimization settings

You smartphone's settings -> Applications and notifications -> Configuration -> Special access of applications -> Battery optimisation.
Follow the next steps:
  1. In the upper header of the screen, click on "Do not optimize the battery" and change it to "All applications"
  2. Search Wikiloc App among all installed apps
  3. Click on Wikiloc and select "Do not optimize the battery" and apply the changes by checking "Done".
  4. It is highly recommended that you also perform steps 2 and 3 with the system applications called Combined Location and Location Services.

Depending on the brand of the device you may need to take specific steps:


Huawei smartphones are provided with some protection to ensure that the battery will last a long time. This protection must be disabled to let the apps continue running while in background mode.

To let Wikiloc execute in  the background  while recording tracks just follow  these steps :

Open the Huawei system App "  phone manager", select the "battery" pictogram. Disable the "Energy saving mode" and the "Ultra saving energy mode" options.
Disable the automatic power management for the Wikiloc App: 
- Go to your device's "settings", "Apps & notifications", "Apps" 
- Tap the Wikiloc App option 
- Tap on "battery" 
- Disable the "Ask about intensive consumption" 
- Within  the "start"  section, disable the "automatic administration" and activate all elements on the "manual administration" section .
You  can see the power manager app in this video:


With OnePlus smartphones it has worked by locking the App:

  1. Open Wikiloc App
  2. Click on your device's square button (normally on the bottom-right part). This will open a "recent tap" preview, (red number 1 in the screenshot)your device's "recent tab" button
  3. Click on the el "lock" symbol on the upper right corner of the app tab to avoid it being forcibly closed by the energy-saving system, (red number 2 in the screenshot).


Xiaomi smartphones are provided with some battery savor protection.
Here is how to disable it:

Open Settings and go to Additional Settings.
In Battery and performance, you'll find Manage battery use of applications.
In this page, you should select the Off option instead of the default Normal option.

Alternative instructions (copied from

Pull the toggle bar, hold the GPS to reach GPS Settings > Enable "Allow background location"
Return to GPS settings > Background location access > Allow the App by selecting it

Also, do this:

Settings>Additional Settings>Battery>Manage app battery usage, now disable/turn off the following options.

  • Manage app battery usage
  • Restrict apps when the battery is low
  • Then reboot the device and check. 

Also, check this:

Security App>Data Usage>Data Usage Stats, select the apps and check whether "Background data" is allowed or not.

If you are using a Xiaomi Mi5, you can do further configuration:

Security > Battery > Battery saving > Wikiloc > Without Restrictions > Background location > Allow


Open settings > battery > power saving mode > battery optimization > Wikiloc > don't optimize > save


Access Battery settings > App Power Saving > Details > Wikiloc > Disabled

Also, make sure that the global battery saving mode is disabled as well:

Still need help? Contact Us Contact Us