Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, If your application doesn't show in the phone's battery usage list, I believe this means that it uses so little that its usage comes out as zero due to limited measurement precision. In that case, you have nothing to worry about. You can test if this is the case by adding wake locks

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Filip Havlicek
Kostya, I'm pretty sure it shows up, but this kind of measurement is really not precise - I need time-based values, ie the application consumed 2,5% of total battery power after 1 hour of running, you can't really take any values from the application list, because they are influenced by other

Re: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Kostya Vasilyev
Filip, The system panel does show battery consumed by the WiFi radio and the display as separate entities. I also think if you allow interaction while doing your test, then it's not really clear what you are measuring (at least not clear to me). A clean device (no 3rd party programs,

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
Filip, later today I will link you all the work that I've done and the code. But basically what I wanted was the ability to see the power draw thru the battery at any time to compare different tasks that the phone does and its power consumption. So I wrote an app that samples the battery's

RE: [android-developers] Re: Battery usage measurements

2011-01-21 Thread Emre A. Yavuz
Hi Roger, Could you also send it to the list ? Cheers, Emre Date: Fri, 21 Jan 2011 12:59:57 -0800 Subject: [android-developers] Re: Battery usage measurements From: rogerpodac...@gmail.com To: android-developers@googlegroups.com Filip, later today I will link you all the work

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
so all i really did is figure out how to call the read and write function of the fuel gauge chip inside the nexus one battery, so that on command you can read or write to any of the 80 register addresses. lot's of interesting other things we are doing with this, but not really related. but this

[android-developers] Re: Battery usage measurements

2011-01-20 Thread Roger Podacter
there are ways to do what you want, at least on the nexus one, with just the battery, its driver, and the IC fuel gauge inside the battery. a recent project i've been playing with does just that, but it involved root access which is probably not what this forum is all about. nonetheless, for the

Re: [android-developers] Re: Battery usage measurements

2011-01-20 Thread Filip Havlicek
Mark, that's exactly what I wanted to avoid, I'm not really sure someone will find that money for me :) Prakash, yes, but you can't get that data programmatically, at least I didn't figure out how. Roger, thanks, I considered looking for some solutions involving rooting the phone, but since it

[android-developers] Re: Battery usage measurements

2011-01-20 Thread DanH
Certainly any competent hardware hacker could lash together a testbed to measure battery draw. Of course the phone would be wired to a workbench, and the data collected would have to be time-correlated with the testing activities, but not rocket science. On Jan 20, 4:00 pm, Filip Havlicek

Re: [android-developers] Re: Battery usage measurements

2011-01-20 Thread Filip Havlicek
I have to return the device unharmed and you know what are those hardware guys doing with our precious toys :) They are good in building stuff, but not returning it to its previous state :) 2011/1/20 DanH danhi...@ieee.org Certainly any competent hardware hacker could lash together a testbed

[android-developers] Re: Battery usage measurements

2011-01-20 Thread DanH
Should not be at all hard to use, eg, a piece of wood of the right shape to fit into the battery compartment, to hold contacts in place. Phone could be supplied from an external power source or the battery, with some sort of jury-rigged holder. Shouldn't require modifying the phone in any way.