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






-- 
Javier

--~--~---------~--~----~------------~-------~--~----~


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
batteries.
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)
 http://commonsware.com 
_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. Application label in the manifest

I am sure this is real simple and I am just missing it...  In the
manifest you can specify a label and an icon for your application that
displays in Android Market.

        <application
                android:icon="@drawable/my_icon"
                android:label="@string/app_name"


However, I have noticed that a number of applications also provide a
2-3 line description of the app as well.  I am not seeing you I set
the description string.  What is the attribute name to set that for
the app?  I am assuming I need to set that in the manifest file as
well.

thanks

--~--~---------~--~----~------------~-------~--~----~

2. R.java file is not getting updated

HI,

I have created xml file for UI.
I  later added identifiers (@+/id) to few elements  but the R.java file is
not getting updated.

Regards,
Ashwani

--~--~---------~--~----~------------~-------~--~----~

3. bad packet exception - eclipse debugging

4. Using G1 as modem

5. Read Image with multiple Frames - Animated Gif

6. how to completely wipe out the application data

7. Multi screen support