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

From: Alexander Polakov <polachok_AT_gmail.com>
Date: Sun, 16 Sep 2007 01:03:00 +0400

* Amit <amit.uttam_AT_gmail.com> [070916 00:51]:
> Hey guys,
>
> I've tried modifying the .xinitrc to contain the battery percentage
> level from apm but I cannot seem to get it. What is the proper way to
> do this? I am sure many of you have this on your status bar. Any hints
> or suggestions on how to approach this issue?
>
> Thanks,
> Amit

AFAIK apm is not supported in new models of notebooks. I made a small tool
for myself [1]. It shows battery charge (via acpi), cpu frequency, network interface traffic,
time and load. It's linux specific.
Looks like this:
bat0: 100% cpu0: 800 | ppp0: [5205Kb|2215Kb] | 01:02 | 0.03

[1] http://rootshell.be/~polachok/statusd-46.tar.gz

-- 
Alexander Polakov | http://polachok.livejournal.com
Russian DWM users | http://community.livejournal.com/ru_dwm/
Received on Sat Sep 15 2007 - 23:04:19 UTC

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