[QtMoko] Battery
NeilBrown
neilb at suse.de
Mon Aug 5 22:57:47 CEST 2013
On Mon, 05 Aug 2013 15:51:49 +0200 Giacomo 'giotti' Mariani
<giacomomariani at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.openmoko.org/pipermail/community/attachments/20130806/4898c850/attachment.sig>
More information about the community
mailing list