I can't find it as I scrub through JavaPosse #336, but didn't Dick
mention something about his sister's (or other relative's) iPhone
nearly discharging overnight after upgrading to iOS 4?

If so, here's a tip: look on the status bar to see if the location
arrow is on. Especially if it's on ALL THE DAMN TIME. It's possible to
write a badly-behaved app that keeps GPS on 24/7, even when
backgrounded, even when not running.  And GPS chows a lot of power.  I
found I had a trivial app ("Distant Worlds", which has music and news
from the "Final Fantasy" concert tour) that wanted to use my GPS all
the time, presumably so it could tell me if they were ever coming back
to play another concert in Grand Rapids (dream on).  Going into
Settings and denying location services to that one app fixed my
problem: no more arrow all the time, no more drain.

And yes, it's atrocious that you as an iOS developer can screw up this
bad.  And yes, it's atrocious that Apple has a review process that
objects to all sorts of benign things, but didn't catch this.  Points
conceded.

Anyways, maybe that will help Dick's yet-to-switch-to-Android-but-it's-
inevitable-isn't-it relatives. Or maybe there's some other root
problem.  FWIW, the GPS app that I've got on the store only opts into
location services when it starts up or gets foregrounded, and turns
them off when it gets backgrounded.  Which is what you're supposed to
do. Not that hard.

--Chris

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" 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/javaposse?hl=en.

Reply via email to