Subject: Re: ACPI and battery status
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: current-users
Date: 06/12/2004 00:34:01
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...
Cheers
--
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/