Subject: Re: apmd battery/line script names
To: None <current-users@netbsd.org>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 11/22/1998 00:46:44
>And I want to know when the battery is at, say, 30%, 10%, or close to zero.
>When does the script get called?  This is where I think Ken's approach starts
>to not scale.

Well, twas just an idea (for the power level script).  I wasn't really
advocating it :-)  A generic event system (like Perry described) probably
would be better for something like that.

>And presumably another script when the UPS gets mains power back.  And
>(again) i want calbacks at various levels as the UPS stored energy drains,
>if its a desktop i actually use rather than a server in a machine-room.
>USW.

I believe that would be a feature of your UPS software, which should
be independant of APM.

--Ken