Subject: Re: ACPI and battery status
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 06/12/2004 11:16:21
On Sat, Jun 12, 2004 at 12:34:01AM +0200, Julio M. Merino Vidal wrote:
> On Fri, 11 Jun 2004 22:40:43 +0300 (EEST)
> Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
> 
> > Hi!
> > 
> > I was trying to create a package for xfce4-battery-plugin but I couldn't
> > compile it on NetBSD 2.0F. So I should add NetBSD support for this
> > nice plugin...
> > 
> > How can I read the current battery status using ACPI (and maybe APM)?
> > Do we have any examples of this somewhere?
> 
> There is a patch in icewm, patch-ab, that does this for APM.
> 
> You can also look at the battstat gnome applet (from gnome2-applets).
> I don't know if it works though...

xbattbar is supposed to work with both APM and ACPI

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--