Software

January 26, 2010

Graph your battery usage [source code, for techies]

More articles by »
Written by: marc_hav
Tags: , ,
battery-week

I came across something that belongs in the category “why didn’t I think of that” and wanted to share this with you.

One of the things I believe is very important to us all: How is the battery life on my phone. Mike Cardwell thought of the idea to gather the battery usage data from his phone and upload them to a server and graph them using the RRDTool.

Of course this is just one of the endless possibilities that this idea opens up… a few things that come to mind are: frequency of text messages sent/received and phone calls sent/received, duration of received/placed phonecalls, data usage, etc. Of course there are already applications out there that gather this kind of data and present this in a GUI on your phone but none (as far as I know) allow you to upload those data to a server.

In case you are interested, the source code is available here. If anything, it should be a good example for application developers of how to create persistent Android processes that don’t chew the battery, as it deals with alarms and cpu locking.







About the Author

marc_hav






 
 

 
Galaxy Nexus $49.99 at Bestuy

Samsung Galaxy Nexus drops to $49 via Best Buy Cananda

  As always in the Mobile phone world, price drops and “the Big deal sale” happens all the time and BestBuy is at it again, this time offering the Rogers or Fido Galaxy Nexus for a jaw dropping $49.99 on select...
by Jeff Roloson
0

 
 
sky-go

Sky Go still a go for Android, bringing streaming TV to select Devices

Those of you living in the UK are fairly familiar with a network provider called Sky. They essentially are a satellite company that pipes TV into many homes. We now have an update to the highly anticipated Sky Go app that man...
by Stormy Beach
2

 
 
ADzero-bamboo-smartphone-thumb-550xauto-82810

Would you buy an Android Phone made of Bamboo?

Kieron-Scott Woodhouse’s Bamboo phone had made quiet the splash over on DVICE and frankly it really tweaked my interest as well. As Kevin Hall says in his article, I don’t think this phone is going to set any sales...
by Alex Hernandez
4

 

 
Androu 1

Valentines Day isn’t just for the women, we like getting stuff too, like this little Guy

When we think of Valentines Day, we shudder with all  the work we should do to have flowers delivered, signing a card and going to dinner. It isn’t all that bad is it guys? If you really know your lady then Valentines da...
by Stormy Beach
1

 
 
bell Galaxy note

Galaxy Note will be $729.95 off contract at Bell

Well if you have been keeping an eye on the Galaxy Note as I have; the one question has been what will this Android powered beast cost off contract? Well if buying through Bell as I would be expect to shell out $729.95 plus tax...
by Jeff Roloson
1

 
 
Dropbox

Dropbox launches new beta Android app, mobile photo syncing and more free Space

Yesterday we alerted you guys of Dropbox’s new computer based client. It allows you to quickly and easily import all your photos from various sources to Dropbox with a single click. I used it all day yesterday and already...
by Stormy Beach
0

 




4 Comments


  1. tyler

    Marc –
    Check out http://www.phonalyzr.com/

    Phonalyzr takes your Android handset’s phone call log and displays a number of different graphs which can give you an interesting and never before seen look into your calling habits, SMS, etc.


    • marc_hav

      Tyler, yes, thank you very much for that link. I had tried that app a few months ago and lost track of it. Now if there was a possibility to export those data…


  2. tyler

    Marc –
    Check out http://www.phonalyzr.com/

    Phonalyzr takes your Android handset’s phone call log and displays a number of different graphs which can give you an interesting and never before seen look into your calling habits, SMS, etc.


    • marc_hav

      Tyler, yes, thank you very much for that link. I had tried that app a few months ago and lost track of it. Now if there was a possibility to export those data…



Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>