Track recording does not work on Xiaomi Redmi 5

Josef Rudolf shared this problem 6 months ago
Solved

Hello.

Since I have installed the new version of Locus with the track recording GPS filter feature included (3.37.1 Pro), track recording does not record any data at all on my Xiaomi Redmi 5 plus (MIUI 9.5.12.0, Android 7.1.2).

It might be related to the fact that the GPS data on this device is sent to the application in a weird way when Locus gets all the satellite data, location amd stuff but the GPS icon is almost always yellow, as if there was no fix (when using current GPS location in a new waypoint, I get a pop-up saying that the location is only aproximated from wifi and cellular network, but that's not really true). It has always been like that and had no real negative effect until now.

On the recording side panel, every second the real number of satellites flashes for a moment and then it turns to 0 | 0 again. All the other metrics on the panel stay zero, except for current speed and altitude.

So I think the root cause might be the track recording's new GPS filtering and a fix or temporary workaround would be the possibility to turn the filtering off, which I tried to find since the new verision got released, but without any luck.

Comments (3)

photo
1

Hi Josef,

1) please check Locus Map has all necessary permissions to get accurate location (and all other permissions MIUI needs, see https://dontkillmyapp.com/xiaomi)

2) check Locus settings > GPS&sensors > Location filter > turn "no filtration" on if you're sure this is the cause of the problem

3) check Locus settings > GPS&sensors >Google Services assisted location - test both options (on some devices it helps, on some others not)

I hope some of these measures will help.

best regards

Michal, Locus team

photo
1

Hello. The "Google Services assisted location" has solved the problem. I would never guess this is the way to solve it.

Btw, I had "no filtration" selected all the time.

Thanks a lot :)

photo
1

have the same problem on Xiaomi mi 5. Locus map starts well but after few minutes it interrupts. I change the settings no filtration and Google services but it doesn't work as well.

photo
1

Hi Piero,

in your case, it is probably a problem of the battery optimization. Exclude Locus from it or turn it off. Various manufacturers have various methods, not all of them are included in the "battery optimization" settings section, they can be scattered over whole settings including security etc. All our knowledge on this problematics is summarized here: http://docs.locusmap.eu/doku.php?id=manual:faq:gps_lost_fix_android6 or here: https://dontkillmyapp.com/xiaomi.

best regards

Michal, Locus team

photo