Martin Jansa martin.jansa at gmail.com
Sat Feb 5 00:00:37 CET 2011

On Fri, Feb 04, 2011 at 02:54:45PM -0800, skuphundaku wrote:
> Hi,
> 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?
> M.

quick find shows similar nodes in

isn't it what you're looking for?

Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openmoko.org/pipermail/devel/attachments/20110205/a5913ea3/attachment.pgp>

More information about the devel mailing list