On Sunday, 18 August 2019 21:32:11 UTC+2, Manu EL wrote:
>
> I've done some testing. I use GPS only, no A-GPS. Mobile connection is off 
> (airplane mode).
>
> Testing
> In the village (900m above sea level) : everything is fine with the GPS.
> In the mountains (> 1000m) : I start the smartphone. I open 'GPS Test' app 
> => I get a GPS fix. Then I put the app in the background or lock the 
> screen, then I reselect the app => impossible to get a fix
> Same behaviour with Osmand. Same when I close the app and then relaunch it.
>
> Workaround 1
> In GPS Test, I go in the A-GPS menu, do 'clear cache' or 'clear & update'. 
> Still no fix in GPS Test. But if I send GPS Test in the background then 
> select Osmand, I get a fix after 1 minute in Osmand (would be the same with 
> GPS Test : if I send GPS Test in the background then reselect GPS Test, I 
> get a fix after 1 minute in GPS Test). This workaround can be used in 
> emergency but is not convenient. My hypothesis is that the GPS cache is 
> somehow corrupted when the app is sent to background or closed. Any app 
> launched at this point will fail to get a fix, until the GPS cache is 
> cleared.
>
> Workaround 2
> In Osmand, I start a trace recording with recording interval set to 3 
> minutes (to preserve battery). From this point, I can send Osmand in the 
> background or lock the screen without losing the GPS fix. It may consume a 
> bit of battery, but at least, I can use the GPS in mountains. That's great.
>
> This is a strange bug, considering it happens only in altitude, or 
> depending on some other parameters I'm not aware of. 
>
> If anybody thinks about a real fix for this issue, please tell me!!
>

Another vote for battery saving. GPS is usually first to go. Track 
recording pokes hard the usage, so it won't get "optimised".

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/3d0dacbb-cfbd-46ea-b869-94167878e285%40googlegroups.com.

Reply via email to