PMU: battery charge information totally wrong

Johannes Berg johannes at sipsolutions.net
Wed May 9 08:09:51 PDT 2007


On Wed, 2007-05-09 at 16:49 +0100, Richard Hughes wrote:
> On Wed, 2007-05-09 at 16:44 +0200, Johannes Berg wrote:
> > Well, that would get me around 25W which matches my power meter :)
> 
> Do we _know_ that this is mAh for every PMU based system?

I don't know, I'd have to dig into the Darwin code and possibly in OSX.
I strongly suspect so because OSX can display this information and it
doesn't make sense that other versions behave differently, and the
kernel sources talk about amperage and voltage all over. I'll talk to
benh.

> > Unfortunately I can't build hal from git for some autofoo reason so I
> > don't dare make a patch.
> 
> What's the autofoo error out of interest? Thanks.

Long. Probably the wrong version of something.

johannes:~/Projects/hal/hal$ ./autogen.sh 
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

/usr/share/aclocal/snacc.m4:24: warning: underquoted definition of AM_PATH_SNACC
/usr/share/aclocal/snacc.m4:24:   run info '(automake)Extending aclocal'
/usr/share/aclocal/snacc.m4:24:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:393: error: m4_require: circular dependency of AC_LANG_COMPILER(C++)
../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
/usr/share/aclocal/libtool.m4:888: _LT_SYS_MODULE_PATH_AIX is expanded from...
/usr/share/aclocal/libtool.m4:5100: _LT_LANG_CXX_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:777: _LT_LANG is expanded from...
/usr/share/aclocal/libtool.m4:760: LT_LANG is expanded from...
../../lib/autoconf/c.m4:736: AC_LANG_COMPILER(C++) is expanded from...
../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
../../lib/autoconf/libs.m4:121: AC_CHECK_LIB is expanded from...
configure.in:393: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20070509/6795bd0d/attachment.pgp 


More information about the hal mailing list