"Turning the GPS on" in the Settings is not doing anything to the
battery. It just *allows* applications to use the GPS. You can have
this setting turned on, use only Gmail and Browser and you will never
seen the battery drain faster than with the setting off. That's also
why there's very little reason to have apps turn it on/off: it's a
*PRIVACY* feature. Do I want apps to be able to change my privacy
settings behind my back? No.

Applications draining the battery are poorly written applications that
do not stop requesting GPS updates even when they are not in the
foreground, etc. We've also seen cases of applications forcing WiFi to
be on (and that definitely drains the battery.)

On Sun, May 3, 2009 at 8:18 AM, chrispix <[email protected]> wrote:
>
> This is what I don't understand.
>
> The issue right now is that applications are automatically turning GPS
> on, causing
> battery life to go down. Or at least give that perception. Probably
> because those
> applications turning it on w/out letting the user know are leaving the
> program in the
> background accessing GPS coordinates the whole time.
>
> So now the solution for the problem of applications continuing to
> request GPS
> coordinates, is to disable them from automatically turning GPS on. The
> issue is
> that if a user turns GPS on, the battery will go down for those same
> applciations
> just as before.
>
> The issue boils down to requesting updates every 1 second in the
> background, not
> really enabling / disabling GPS. Because as you said, Enabling GPS is
> what you want
> the user to be able to do, and keep it enabled.
>
> So I am just confused how you solve a problem of some programs
> automatically turning
> on GPS, and running the battery down by telling the user to leave GPS
> enabled 100%
> of the time.
>
> -- Going to read blog post on brightness.
>
> On Apr 29, 10:25 am, Mike Hearn <[email protected]> wrote:
>> On Apr 28, 11:26 pm, weaselgrater <[email protected]> wrote:
>>
>> > I am the developer of SMS Commander, and getting a GPS location
>> > remotely is going to become impossible now.
>>
>> No, it's not. Just tell users to leave the GPS setting checked. As
>> mentioned before, it does not mean GPS is always active, just that
>> when an app asks for location it gets one using GPS.
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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