On Mon, 05 Aug 2013 15:51:49 +0200 Giacomo 'giotti' Mariani <giacomomari...@yahoo.it> wrote:
> Hi Radeck, all, > I was reading > http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers in order to > estimate the remaining power of my battery (the fraction of the maximum > energy with respect to a new one) and found about bq27k-detail[1] which > doesn't seem to work on any recent distribution (kernel >= 2.6.34) I > have on my GTA02. > > Do you have any idea why the file > /sys/devices/platform/s3c24xx_pwm.0/hdq.0/hdq/dump disappeared? Is there > another way to achieve the same result of bq27k-detail? > > Thanks a lot, > Giacomo > > [1] > http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers#That_bq27000_chip_seems_to_be_pretty_cool.2C_how_can_i_read_and_understand_its_raw_registers.3F > On the GTA04 I just read /sys/class/power_supply/bq27000-battery/charge_full and /sys/class/power_supply/bq27000-battery/charge_full_design and divide one by the other. Does the GTA02 not have something similar? NeilBrown
signature.asc
Description: PGP signature
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community