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
/sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/hdq/bq27000-battery.0/power_supply/battery/

isn't it what you're looking for?

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: pgp7PEMLDmWHk.pgp
Description: PGP signature

_______________________________________________
devel mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to