Stops recording when screen off

Al B shared this question 16 days ago
Answered

Ever since the 3.40.0 update Locus Pro stops recording as soon as the screen is turned off.

Battery optimization is off for Locus. I've cleared cache, reset settings, turned off and on Battery optimization along with multiple reboots all to no avail. The phone is a Pixel 3a.

This is not an intermittent problem, it happens every time the screen goes off. If I record a long walk the result is a series of straight lines connecting the points where I have turned on the screen.

In the interim I've install Map My Walk, and it works flawlessly even with battery optimization on.

I've used Locus Pro for years and never had such a problem until the 3.40.0 update.

Comments (10)

photo
1

I was just about to submit a post regarding this issue myself. I have exactly the same problem on the same device, a Pixel 3a. My phone is running Android 10. As soon as I updated to Locus 3.40, it could no longer continue track recording after the screen turned off. Keeping the screen unlocked does not matter, it has to be on.

I have played with every darn parameter I can find in Locus and the Android system, but nothing has made any difference. Of course, I started with turning off battery optimization and things like that - to no avail. I thought possibly GPS was being shut down, so I loaded the app GPS Keeper, which does appear to keep GPS running, but this does not seem to be the problem; Locus simply stops running unless it is in the foreground now, and the screen is on!

In the interim have switched to using OsmAnd+, which does not appear to have this problem.

This is quite alarming, as I have been using Locus almost every day for at least the past twelve years, and I never had an issue like this, currently running version 3.40.1.

photo
1

Same problem for me :

My wife have a Samsung J7 2017 / Android 9 / Locus map pro 3.40.0. All is working well with LOCUS : track are recording even screen is off.

I have the same Samsung J7 2017 / Android 9 / Locus map pro 3.40.1 : LOCUS do not record track when screen is off with exactly the same config as my wife about battery option.

So, now I can't use Locus to record any walk

photo
1

Same problem for me with the Pixel 2 XL running on Android 10 running Locus 3.40.1. Android settings and Locus settings were verified to exclude the battery optimization feature or anything comparable. I recorded today's tour with the Outdoor Active app in parallel that did not show the problem.

Please fix it as soon as possible as recording of long tracks in the background is now useless.

photo
1

Hello.

I'm sorry. We know about error, will be fixed in the next version 3.40.2. coming out today. You can test this feature after installing the new version.

Best regards.

Adela

photo
1

Thank you Adela, I look forward to testing 3.40.2 later today!

-Ron

photo
1

Sorry, but tests with 3.40.2 are not positive : Locus always do not record when screen become OFF, that is clearly a different behaviour wjth 3.40.0 that work fine ....

Best regards

Philippe

photo
1

Problem still exist after updating to 3.40.2. Locus stops recording as soon as the screen is off. Makes no difference if I turn the screen off manually or it just times out.

I also noticed that simply letting Locus run in the background will stop the recording. The only way to continuously record a track is to leave locus displayed and leave the screen on 100% of the time.

By the way, I didn't see anything in the 3.40.2 release notes addressing this issue.

This is with a Pixel 3a / Android 10.

photo
1

Hi all,

the problem is caused by the settings of Location permission for Locus Map. On Android 10, both new installations and updates automatically got permission"allow only while using the app" which disables GPS when the display is off. So please set "Allow all the time" on and Locus Map will be able to run as expected: /ba16411807fdd6c2ce152a79bb6d8d9d

best regards

Michal, Locus team

photo
1

Hi Michal,

On Android 9, we have only this menu : Application / Locus Map / Autorisations / localisation -> is On

So, LOCUS 3.40.2 don't record when screen is off (3.40.0 record when screen is off ...with the same config)

Best regards

Philippe

Samsung J7 2017 / Android 9

photo
1

Hi Philippe,

please, read thoroughly and apply precisely all options summed up on this page, devoted especially to this problematics: https://dontkillmyapp.com/samsung and also our summary of experience: https://docs.locusmap.eu/doku.php?id=manual:faq:gps_lost_fix_android6.

best regards

Michal

photo
1

Hi Michal,

Thanks for the links. I had test with the application GPS locker. Finally, Locus record with screen OFF.

This is a interim fix for this problem ...

I can't understand why 2 identicals smartphones Samsung J7 2017, same OS Android 9, same config system and Locus map, one with 3.40.0 work well and record even screen OFF and the second with 3.40.2 can't record when screen is OFF.

This implies that is only a problem with Locus update, maybe not easy to solve. Users report that other app work well with screen off, so I think you will certainly solve this problem ...

So, I disable automatic update on the J7 with 3.40.0 (!) ....

Best regards

Philippe

photo
1

Thanks Michal.

After setting the location permission to "Allow all the time" everything is working perfect!

photo
2

Thanks Michal

Locus is working well now with the Samsung J7 / Android 9 :

- set "Optimized mode" for battery, as usual (in fact no battery saving)

- Parameters / Application / Special access / Battery optimization /

- show all

- Locus map -> disable

Locus work well (as before update) and don't need GPSlocker or other

Best regards

Philippe

photo