From owner-freebsd-questions Tue Jun 9 06:54:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA26307 for freebsd-questions-outgoing; Tue, 9 Jun 1998 06:54:33 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from leaf.lumiere.net (j@leaf.lumiere.net [207.218.152.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA04188 for ; Tue, 9 Jun 1998 02:38:52 -0700 (PDT) (envelope-from j@lumiere.net) Received: from localhost (j@localhost) by leaf.lumiere.net (8.9.0/8.8.8) with SMTP id CAA28295 for ; Tue, 9 Jun 1998 02:38:43 -0700 (PDT) (envelope-from j@lumiere.net) Date: Tue, 9 Jun 1998 02:38:43 -0700 (PDT) From: Jesse To: freebsd-questions@FreeBSD.ORG Subject: upsd, automatic shutdown at low batt Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I recently setup upsd to work with my APC Smart UPS 2200. It seems to poll the system okay (after I disabled "poll status") and reacts to line failures and restorations. However, from looking at the config file I've only been able to figure out how to make the system shutdown after X amount of time has passed since the UPS went to battery. I'd much rather have the system shutdown when the battery gets down to like 5% charge or X minutes before out-of-battery. Has anyone figured out any way to do this? Also, is load a percentage? If so, how is it measured -- by kva? I'm wondering because with a slightly less than 5% load, if that's kvas, then on a Smart UPS 2200 that should be about 125kva. 125kva on a SmartUPS 2200 is listed on APC's web site to last 298 minutes or so, however, from my tests, it seems to go much faster. About 15% every 20 minutes, or a total time of about 2.5 hours. Any ideas if I'm missing something or doing somethign wrong here? Or is there something wrong with my UPS/batteries? Thanks in advance, --- Jesse http://www.lumiere.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message