Battery draining

penguin6 years ago

I was testing the app, and works great.
There is only one issue. When setting it to High accuracy, but low or no gps coverage, the app keeps on trying to use the gps, without or very long time-out.
I would suggest to make this a short timeout and fall back to medium accuracy until gps coverage is back to normal.

Anton Tananaev6 years ago

How would you know that GPS coverage is back?

penguin6 years ago

Make a short request. The way Google is doing it?

Anton Tananaev6 years ago

Please provide some references that explain how Google does it.

penguin6 years ago

If you access the GPS data, and you have less than 3 satellites after 20 sec, you can assume you have no coverage.
It's not my app, I tested it, gave you some improvement tips, and stopped using the app, due to the drainage.