Andy Green wrote: > Jeffrey, if you are interested about what the battery experiences, there > are a bunch of goodies from the Coulomb Counter in the battery > accessible down /sys/class/power_supply/bat, just cat them. These tell > you the battery's view of what is going on directly. > > # cat /sys/class/power_supply/bat/current_now > > is particularly interesting, this is the flow of current out of (+ve) or > into (-ve) the battery in uA. These values come fresh from the Coulomb > Counter each time, but that device itself updates its registers only > every few seconds.
Is there a Wiki page or docs that explain what each register is and the units it refers to? especially in the .../power_supply/bat/... area which seems to have very pertinent information. Do the values appearing in the /sys/classes/... files differ anyway from what the hardware provides or is it tweaked by the kernel? Thanks -- Jim Morris, http://blog.wolfman.com _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

