[PATCH] Linux ACPI support for battery applet
Michal Ludvig <[email protected]> Thu, 15 Sep 2005 15:23:45 +1200
| Newsgroups | gmane.comp.handhelds.matchbox |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1022311617== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7A94D335E8B195015E4E7D35" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7A94D335E8B195015E4E7D35 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Hi again, just in case anyone is interested, attached is a patch for mb-applet-battery that gathers the battery stats from /proc/acpi instead of from libapm. On our system we don't have APM at all and ACPI works just fine. Well, except for a short transition period after unplugging the AC powercord, where it gives out obviously wrong data. There are some simple checks to ignore these obviously too high or too low values. Michal Ludvig -- * Personal homepage: http://www.logix.cz/michal --------------enig7A94D335E8B195015E4E7D35 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDKOlGDDolCcRbIhgRAiTKAKC1jwcMbpu9BgRoWWs2wxenctw9HgCdHn2W dbX0AHD5cOwtB78khpvsa9I= =LLqx -----END PGP SIGNATURE----- --------------enig7A94D335E8B195015E4E7D35-- --===============1022311617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Matchbox mailing list [email protected] https://handhelds.org/mailman/listinfo/matchbox --===============1022311617==--