This object is in archive! 
Notifications about lost GPS lock
Answered
Does Locus always notify about lost GPS lock even if GPS subsystem stops working correctly? ( if told so, in my case by 3 beeps -
E.g. if GPS "freezes" and stops responding, or keeps returning last known state. ( Some devices are known to be problematic) .
As I have suspicion it does not, as I have missed several times turning on the GPX route, realizing GPS stopped working and I was not notified. ( And no, it was not because of bad signal or too few satellites. )
Edit: eventually, can there be a difference, if screen is always ON , or screen is OFF and device in a pocket ?
I do not use GPS OFF feature, as it seems to work better for me with GPS ON.
I have similar problem on Sony Xperia Z1. GPS can stop working for no apparent reason, maybe once a day or less, while cycle touring. But Locus Pro to the rescue. My settings:
When I hear unique 5 beeps I can quickly go to GPS screen, disable/ reenable GPS & now all working again. I do have my own open topic for auto-restart. Menions suggestion for auto-off workaround was not useful.
I have similar problem on Sony Xperia Z1. GPS can stop working for no apparent reason, maybe once a day or less, while cycle touring. But Locus Pro to the rescue. My settings:
When I hear unique 5 beeps I can quickly go to GPS screen, disable/ reenable GPS & now all working again. I do have my own open topic for auto-restart. Menions suggestion for auto-off workaround was not useful.
I have not set the warning repetition as I thought once is enough. But it seems I do not get it even once, sometimes. I have set the repetition now and I will see....
I have not set the warning repetition as I thought once is enough. But it seems I do not get it even once, sometimes. I have set the repetition now and I will see....
Hello guys,
I'll try to explain how it works now. Maybe you will have an suggestion for improvements.
Screen on/off ... it depends if GPS is required by any service. If you use for example track recording, then there will be no difference (GPS is needed all the time). You may notice small white popup "GPS turned on", when Locus disabled GPS to conserve battery because it was not needed.
Hello guys,
I'll try to explain how it works now. Maybe you will have an suggestion for improvements.
Screen on/off ... it depends if GPS is required by any service. If you use for example track recording, then there will be no difference (GPS is needed all the time). You may notice small white popup "GPS turned on", when Locus disabled GPS to conserve battery because it was not needed.
The timer is hardcoded to 60s as I understand, correct ? I suppose active navigation should mean GPS is required.
AFA I understand. Normal GPS operation is providing locations and sat stats every second.I suppose if working GPS loses the lock, it actively notifies Locus and Locus gets it.But if GPS does not work correctly, can it fool Locus it is working, e.g repeating last data forever? Does Locus analyze if subsequent GPS data differs ?
As sometimes it seems to me Locus gets fooled, thinking all is OK,not notifying me and keeping old position and sat stats.
But I have to verify the cases. It often notifies me, and sometimes not.
Edit: E.g., I can have displayed on the top bar SAT stats 12/18 satalittes, ( at least could in past - have to verify for current Locus ) - the numbers still for several minutes, while for these several minutes GPS is not working. IMHO, if Locus determines the data flow get stalled in constant line, it should be evaluated as GPS lock lost and reset the GPS info data. Eventually, evaluate it as GPS malfunction.
The timer is hardcoded to 60s as I understand, correct ? I suppose active navigation should mean GPS is required.
AFA I understand. Normal GPS operation is providing locations and sat stats every second.I suppose if working GPS loses the lock, it actively notifies Locus and Locus gets it.But if GPS does not work correctly, can it fool Locus it is working, e.g repeating last data forever? Does Locus analyze if subsequent GPS data differs ?
As sometimes it seems to me Locus gets fooled, thinking all is OK,not notifying me and keeping old position and sat stats.
But I have to verify the cases. It often notifies me, and sometimes not.
Edit: E.g., I can have displayed on the top bar SAT stats 12/18 satalittes, ( at least could in past - have to verify for current Locus ) - the numbers still for several minutes, while for these several minutes GPS is not working. IMHO, if Locus determines the data flow get stalled in constant line, it should be evaluated as GPS lock lost and reset the GPS info data. Eventually, evaluate it as GPS malfunction.
Thanks Menion, explanation fully understood, and I would have thought that would be the case anyway.
I probably repeat myself, but when my Xperia GPS "drops out" during track recording Locus provides immediate notification, that is Locus is immediately aware there is problem. The only way I know to fix this is to tap the GPS "map" once to turn off GPS, then tap again to turn on GPS. The GPS responds immediately with new position, so very quick to correct. I am quite happy you don't write new code to handle this unusual situation, but you can see here that a coding "hack" would be possible to automatically restore GPS operation as per my open topic.
BTW you say "if you turn off GPS source in your system manually, Locus should notify on lost fix" - yes I know that, and experience that myself, but I have question/ suggestion - if user has manually turned off GPS (especially if tap on Locus GPS map to perform) surely there is no need to then notify the user? I nearly wrote a topic for this suggestion once but never did (until now).
Thanks Menion, explanation fully understood, and I would have thought that would be the case anyway.
I probably repeat myself, but when my Xperia GPS "drops out" during track recording Locus provides immediate notification, that is Locus is immediately aware there is problem. The only way I know to fix this is to tap the GPS "map" once to turn off GPS, then tap again to turn on GPS. The GPS responds immediately with new position, so very quick to correct. I am quite happy you don't write new code to handle this unusual situation, but you can see here that a coding "hack" would be possible to automatically restore GPS operation as per my open topic.
BTW you say "if you turn off GPS source in your system manually, Locus should notify on lost fix" - yes I know that, and experience that myself, but I have question/ suggestion - if user has manually turned off GPS (especially if tap on Locus GPS map to perform) surely there is no need to then notify the user? I nearly wrote a topic for this suggestion once but never did (until now).
@Libor: yes it's hardcoded to 60 s (+ "GPS sleep" parameter from GPS auto-off is enabled).
If GPS lost connection to enough satellites to be able to compute location, it stops sending it's data. It works that at normal situation, location is received from system once per second as you wrote. If there are no valid data, then system SHOULD NOT send old data again and again. Anyway if any modified ROM do this, then Locus do not check these data on duplicities. It should be small problem - location may be same over time and main difference should be time, when location was created. But if Android send same location again, I should expect that it just change time to current. (too much "should" I see :) )
To your edit: this is probably caused by fact, that Locus display old received data. If GPS has any troubles, it stop sending updates, but Locus do not know it has a problem. Locus just display last received data and waits on new data. I may change it and reset state of satellites when it's older then certain time, but it do not solve main problem here - notification.
@Andrew: Do you really think there is no need to notify user on "Lost GPS fix" in case he manually disable GPS in system? Except fact, that as a developer I have no possibility to detect this :) , I still think it's very usable. Other app may disable GPS, you may disable it by accident in top toolbar (Samsung) or on any widget, you may forget that track recording is still running, etc etc ...
On your device, it's really enough to just disable GPS "IN LOCUS" satellite screen and then turn it again on, and it works fine then, am I understand correctly?
@Libor: yes it's hardcoded to 60 s (+ "GPS sleep" parameter from GPS auto-off is enabled).
If GPS lost connection to enough satellites to be able to compute location, it stops sending it's data. It works that at normal situation, location is received from system once per second as you wrote. If there are no valid data, then system SHOULD NOT send old data again and again. Anyway if any modified ROM do this, then Locus do not check these data on duplicities. It should be small problem - location may be same over time and main difference should be time, when location was created. But if Android send same location again, I should expect that it just change time to current. (too much "should" I see :) )
To your edit: this is probably caused by fact, that Locus display old received data. If GPS has any troubles, it stop sending updates, but Locus do not know it has a problem. Locus just display last received data and waits on new data. I may change it and reset state of satellites when it's older then certain time, but it do not solve main problem here - notification.
@Andrew: Do you really think there is no need to notify user on "Lost GPS fix" in case he manually disable GPS in system? Except fact, that as a developer I have no possibility to detect this :) , I still think it's very usable. Other app may disable GPS, you may disable it by accident in top toolbar (Samsung) or on any widget, you may forget that track recording is still running, etc etc ...
On your device, it's really enough to just disable GPS "IN LOCUS" satellite screen and then turn it again on, and it works fine then, am I understand correctly?
Note that I do not use custom ROM, nor is my phone even rooted ( Xperia M dual, A4.3 ).
I will now focus on, If it is Locus or me, who misses the notification...
Note that I do not use custom ROM, nor is my phone even rooted ( Xperia M dual, A4.3 ).
I will now focus on, If it is Locus or me, who misses the notification...
1) I assume some firmware/ hardware bug in my phone (unrooted V5.1.1), because when I observe Locus "Lost GPS fix" notification there is (generally) very good clear sky, no "real world" explanation. I am sure it has nothing to do with a bad GPS signal, but some Android problem. I can live with it because the Locus notification is fully reliable, and workaround is simple (although not automatic/ ideal).
2) @Menion sorry I wasn't clear. When the Locus user taps the Locus GPS satellite screen to explicitly turn off the GPS, surely the user is fully aware of his/her action that GPS operation will cease until they turn it back on? In this, and only this situation, I don't see why a notification is required. Its like user hits their thumb with hammer, no warning that pain will occur is required. BUT as I said, am happy with current operation.
>On your device, it's really enough to just disable GPS "IN LOCUS" satellite screen and then turn it again on, and it works fine then, am I understand correctly?
Absolutely 100% every single time (has only happened maybe 20 times in last year), when Locus gives "Lost GPS fix" notification all I have to do is turn it off then on again from satellite screen & operation (track recording) is immediately restored.
I hope that's clear? Sometimes so tricky to explain oneself online accurately.
1) I assume some firmware/ hardware bug in my phone (unrooted V5.1.1), because when I observe Locus "Lost GPS fix" notification there is (generally) very good clear sky, no "real world" explanation. I am sure it has nothing to do with a bad GPS signal, but some Android problem. I can live with it because the Locus notification is fully reliable, and workaround is simple (although not automatic/ ideal).
2) @Menion sorry I wasn't clear. When the Locus user taps the Locus GPS satellite screen to explicitly turn off the GPS, surely the user is fully aware of his/her action that GPS operation will cease until they turn it back on? In this, and only this situation, I don't see why a notification is required. Its like user hits their thumb with hammer, no warning that pain will occur is required. BUT as I said, am happy with current operation.
>On your device, it's really enough to just disable GPS "IN LOCUS" satellite screen and then turn it again on, and it works fine then, am I understand correctly?
Absolutely 100% every single time (has only happened maybe 20 times in last year), when Locus gives "Lost GPS fix" notification all I have to do is turn it off then on again from satellite screen & operation (track recording) is immediately restored.
I hope that's clear? Sometimes so tricky to explain oneself online accurately.
60s is not big deal for hikers, but for cars, 60s may be too much. One can easily miss the junctions or crossroad to turn, as it is 2km on motorways, almost 1 km in the city.
It may be useful to have an option to automatically switch the screen ON when GPS lock loss occurs.
60s is not big deal for hikers, but for cars, 60s may be too much. One can easily miss the junctions or crossroad to turn, as it is 2km on motorways, almost 1 km in the city.
It may be useful to have an option to automatically switch the screen ON when GPS lock loss occurs.
> location may be same over time and main difference should be time, whenlocation was created. But if Android send same location again, I shouldexpect that it just change time to current. (too much "should" I see :) )
Does it happen the GPS location keeps to be identically the same, even if physically location is static ? Is not it dancing around ? Even if they are, there are very frequent SAT stats changes.
> location may be same over time and main difference should be time, whenlocation was created. But if Android send same location again, I shouldexpect that it just change time to current. (too much "should" I see :) )
Does it happen the GPS location keeps to be identically the same, even if physically location is static ? Is not it dancing around ? Even if they are, there are very frequent SAT stats changes.
Oki guys, thanks for information. As I wrote in second topic, it will be little bit improved in next version, so we should talk a few months later if this still happen to you or if small change helped.
Oki guys, thanks for information. As I wrote in second topic, it will be little bit improved in next version, so we should talk a few months later if this still happen to you or if small change helped.
Replies have been locked on this page!