Re: [dwm] Proper way of monitoring battery level in DWM

From: James Turner <james_AT_bsdgroup.org>
Date: Sun, 16 Sep 2007 17:04:31 -0400

On Sep 16, 2007, at 4:34 PM, Amit wrote:

> Thank you for all the responses.
>
> Actually right now, I am using apm. I am not sure if acpi is supported
> on my notebook. This is an old PowerBook G4 500MHz. I will try
> modifying the scripts to use apm instead of acpi.
>
> Amit

I just use something like this echo "`/usr/sbin/apm -l`%". If all
you want is
the remaining percentage it does the trick nicely.

--
James Turner
BSD Group Consulting
http://www.bsdgroup.org
Received on Sun Sep 16 2007 - 23:05:04 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:53:26 UTC