skuphundaku matei.vasile at gmail.com
Fri Feb 4 23:54:45 CET 2011


I'm working on an experiment to see what's the power consumption of the
various radios in GTA02. When I tried something similar, a little over one
year ago, when using an older version of SHR with an older kernel (I think
it was 2.6.24), I was able to use /sys/class/power_supply/battery/charge_now
and /sys/class/power_supply/battery/charge_full to get the data I was
looking for.

Now, when trying to do the same thing again, with the latest SHR-unstable
and uImage-2.6.34-r7-oe16-om-gta02.bin, I discovered that
/sys/class/power_supply/battery/charge_now is not available anymore. Is this
a bug in SHR's 2.6.34-r7 or is this something intentional?


View this message in context: http://openmoko-public-mailinglists.1958.n2.nabble.com/sys-class-power-supply-battery-charge-now-tp5994314p5994314.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.

More information about the devel mailing list