Hi,

Yes, looks like it is almost impossible to measure without external h/w.

Meanwhile, you can have a look at the sysfs interfaces in your device:
cd /sys/class/power_supply/*_battery/
grep . *
[it is grep space dot space star]
This will give you a list of attributes the kernel driver (for whatever
chip it is) supports.

Thanks,
Durga

On Sun, Oct 28, 2012 at 5:45 PM, Rodrigo Terra <[email protected]>wrote:

> Hi everybody,
>
>    I'm newbie in this list and I'll be really thankfull for some help to
> double check a point. I'm current developing an experiment to evaluate
> impacting Android energy consumption changing kernel scheduler. My choice
> of model to conduct the experiment was google flagship Galaxy Nexus, and
> unfortunatelly seems to be proving be a silly choice. Although Galaxy Nexus
> use a Texas TWL6030 that has all that I need to precise measure current
> using him as gas gauge, it isn't implemented in kernel, and worse than that
> current sense resistor seems to be not solder in Samsung tuna board. Galaxy
> Nexus rely on Max17040 to calc battery remain life, but max17040 use only
> voltage measure, then my questions is:
>
>
>    - Is it really true that I can't get a reliable instantaneous read for
>    battery current in Galaxy Nexus, using TWL6030 or any other method, besides
>    external hardware measure ?
>
>
> Thanks in advance for the confirmation,
> Best Regards Rodrigo
>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel




-- 
Regards
Durgadoss

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to