I agree with Kristopher, GPS eats up battery energy quickly and you have to 
be careful using GPS in an app to avoid exhausting the user's battery.  

We've done extensive work to come up with some dynamic GPS sampling 
strategies that increase battery life because of this reason.  Check out 
slide 5 in this presentation:
http://www.locationaware.usf.edu/wp-content/uploads/2011/11/Barbeau-GPS-Auto-Sleep-patent3.pps

With a HTC Hero, sampling GPS every 4 seconds *and doing nothing else 
(i.e., Wifi, screen off)* the battery is exhausted after 5 hrs.  This 
matches up with the guidance given by the MyTracks folks at Google who say 
you'll typically get less than 5 hrs of battery life when using MyTracks:
http://support.google.com/gmm/bin/answer.py?hl=en&answer=2391538&topic=2391064&ctx=topic
 

So, given that users depend on their phone to do other things (like make 
phone calls), you need to use GPS wisely.

Sean

On Friday, March 30, 2012 10:10:53 PM UTC-4, lbendlin wrote:
>
> A full battery on the phone can easily support 8 hrs of constant GPS 
> tracking, especially when the screen is off. Now go walk for 8 hrs.
>
> On Thursday, March 29, 2012 3:37:37 PM UTC-4, Kristopher Micinski wrote:
>>
>> Yes, having GPS going on a lot will be bad for your battery..., you
>> have to live with it.
>>
>> You can try getting the location from a passive provider, but that's
>> somewhat spotty, of course..., If you want to use GPS, you have to be
>> willing to pay the price..
>>
>> kris
>>
>> On Thu, Mar 29, 2012 at 3:29 PM, Spica <[email protected]> wrote:
>> > Hmm... would be expenssive on battery coz GPS would be working all
>> > that time.
>> >
>> > Any different idea?
>> >
>> > On Mar 29, 12:59 pm, lbendlin <[email protected]> wrote:
>> >> Nothing huge about it. You only get one data row per second max. 
>>  SQLite is
>> >> laughing at that.
>> >>
>> >>
>> >>
>> >> On Thursday, March 29, 2012 12:22:47 PM UTC-4, Spica wrote:
>> >>
>> >> > Guys,
>> >> > How i can save GPS locations while i am walking? I will be displaying
>> >> > my walking track which i will recording while walking. Where i would
>> >> > be saving all those huge number of locations on my phone?
>> >> > There are few apps in the market who are doing that, please share 
>> your
>> >> > ideas how and where they save this data?
>> >>
>> >> > Thanks,- Hide quoted text -
>> >>
>> >> - Show quoted text -
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to 
>> [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to