views:

44

answers:

1

I have a Service that uses the LocationListener, and it will be running from boot, indefinitely. My question is, how often is too often to listen for location updates? Is 5 minutes a battery killer? What about 1?

+1  A: 

Yes, 5 minutes is a battery killer. I wouldn't use an interval smaller than 1 hour. It also depends on the location provider (network or GPS). GPS eats your battery much faster thank network.

Edi
Thanks Edi. And out of interest, how reliable would you say the GPS functionality is? At this point I can't use it anyway, but I've been testing an app and sometimes it won't update GPS at all. Is this expected that sometimes it just won't be able to communicate with satellites, for whatever reason?
Zach
You're welcome. GPS does not work indoors and some locations don't have satellites coverage (or they have weak coverage, so it takes time for the phone to get the location).
Edi