← Back to team overview

ubuntu-phone team mailing list archive

GPS fix running all the time

 

Hello,

I want to test battery usage in long time period while GPS sensor is
waked up and working all the time (even screen is off). Is there any
simple way to do that?
Expected result should be that:

(1) Phone is trying to get GPS fix -> when it get that, it should ask
for position every x seconds to keep it (and get new position of
course).

(2) When phone lose GPS fix (in example enter building), it should try
to get GPS fix every 2 minutes and when successful (exit building) ->
keep GPS fix all the time again.

If (2) is very hard to get, is it possible to continuous querying of
the position (1)?

Best regards,
Krzysztof Tataradziński
https://launchpad.net/~ktatar156


Follow ups