Re: [dev] How to monitor battery status

From: Stefan Mark <mark_AT_unserver.de>
Date: Mon, 20 Jun 2011 12:17:58 +0200

On 20.06.2011 11:59, ilf wrote:
> On 06-19 22:55, Erik Hahn wrote:
>> http://dwm.suckless.org/scripts/simple_monitors
>
> I have done this the /proc/acpi/battery/BAT0/state | shell way for years
> and found it to be way more resource intense then calling acpi -b.
>
> Let's face it, the Shell/Perl/Python/whatever scripting is relatively
> easy, but very inefficient.
>
Indeed

> That's why I really like this approach:
>
> On 06-20 10:43, Stefan Mark wrote:
>> But i think think this is a better solution:
>> http://dwm.suckless.org/dwmstatus/
>
> Unfortunately, this promise is not kept:
>
>> This page will give you a barebone dwmstatus project and show examples
>> on how to extend it to your needs.
>
> It'd be cool to have a configurable C program to do what we're currently
> all scripting ourselves.
>
Just two Days ago i found a nice and relatively complete one in this
Mailinglist. Since then, im tinkering around with it, with the intention
to make it more or less a replacement for my old perl project. It has
some monitors and libnotify support. If there is interest, i could make
a svn.
Received on Mon Jun 20 2011 - 12:17:58 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 12:24:03 CEST