[QtMoko] Battery
joerg Reisenweber
joerg at openmoko.org
Mon Aug 5 23:06:19 CEST 2013
On Mon 05 August 2013 22:57:47 NeilBrown wrote:
> 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_reg
> > isters.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
I'm not sure charge_full_design is correctly flashed to the bq27000 in gat02-
smartbattery. Anyway problems of OP are most likely from changes in kernel
sysfs pathnames.
/j
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
(alas the above page got scrapped due to resignation(!!), so here some
supplementary links:)
http://www.georgedillon.com/web/html_email_is_evil.shtml
http://www.nonhtmlmail.org/campaign.html
http://www.georgedillon.com/web/html_email_is_evil_still.shtml
http://www.gerstbach.at/2004/ascii/ (German)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openmoko.org/pipermail/community/attachments/20130805/39c723f5/attachment.sig>
More information about the community
mailing list