Proximity Alert and Battery life

by loty » Thu, 05 Mar 2009 00:33:57 GMT

Sponsored Links
 I wrote a simple app that uses proximity alerts and after installing
it on my G1 found that battery life have been halved at least. It's so
bad that phone needs to be recharged mid-day or it completely dies by
9pm. There is no polling of any kind - just proximity alerts (3 of
them). I tried with GPS turned off (using network triangulation for
coarse GPS location) but battery life is still abysmal.

Is there a general solution to improve battery life with proximity
alerts or the whole GPS thing is a non-starter on G1s?

Proximity Alert and Battery life

by Javier Segura » Thu, 05 Mar 2009 00:49:43 GMT

 There is a utility called Power Management that fits your needs



Sponsored Links

Proximity Alert and Battery life

by loty » Thu, 05 Mar 2009 01:11:54 GMT

 Just to clarify - I'm not interested in monitoring status of my
I'm interested in finding a solution so that simple proximity alerts
don't destroy battery life and make my apps unusable to users.

Can you elaborate please how I can use Power Management utility to
reduce power consumption of simple proximity alerts?


Proximity Alert and Battery life

by Mark Murphy » Thu, 05 Mar 2009 01:26:20 GMT


There are other apps that use proximity alerts -- for example, I would
assume Locale does. Have you tried these applications to see their
effects on battery life?

Mark Murphy (a Commons Guy) 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


Proximity Alert and Battery life

by loty » Thu, 05 Mar 2009 07:04:52 GMT

 I played with it for 15 minutes but never run it for a full day. Will
do though.


Other Threads

1. ADP1 ONLY instructions for backup, installing from git, then back to backup

Hi all,
I have been combing the web for instructions to do the following:
1. Do a complete backup.
2. Compile and Install from git.
3. Revert to my original state.

This seems like a very reasonable thing for someone with a dev phone
to do! I am very comfortable with linux and the command line but I
have been frustrated by the fact that instructions you find on the web
almost without exception are for the t-mobile G1, with a "works for
ADP1 also" tacked on. The problem being that the best instructions
seem to come from xda-developers, or at least pretty much every site
that has a checklist will have at least one step which is a link to an
xda post. Which then links to another xda page for item X in their
list and so on. The perfect example is the nandroid page which links to
the modified RC30
which links to modded recovery
Could someone who knows the true difference between the devices (and
so what is/not necessary) do a bit of copy/pasting to remove the
unnecessary stuff and post it? If I can work out how to do it I'll
post it on my site for everyone.


2. Android browser is really slow/buggy when clicking on checkboxes


I have made an app that shows a list of RSS feeds at the main screen.
One of the reasons is to be able to generate polls for the users and
host them on my webserver.  The Android browser is close to unusable
when clicking checkboxes. At least on my device. The behavior that I
am experiencing:

- Checking a checkbox can take 1-2 seconds to update. If I just wait
then suddenly the check appears.
- Checking a checkbox in touch mode takes two touches. One to get the
focus square around it and one to check. Standard checkboxes are small
so not easy to do this! And it's not standard behavior inside Android
itself to click twice on a checkbox...

Can anyone of you try to check the checkboxes on this page with your
Android browser?

And please let me know if you have a different experience than me!



3. How to clear auto complete in android Market

4. Multitasking in Android ?

5. ImageView performance and application design

6. Viewing an HTTPS page in a WebView

7. JTwitter