From owner-freebsd-questions Tue Jun 16 01:36:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA24287 for freebsd-questions-outgoing; Tue, 16 Jun 1998 01:36:00 -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 BAA24260 for ; Tue, 16 Jun 1998 01:35:49 -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 BAA25013; Tue, 16 Jun 1998 01:35:51 -0700 (PDT) (envelope-from j@lumiere.net) Date: Tue, 16 Jun 1998 01:35:51 -0700 (PDT) From: Jesse To: Doug White cc: freebsd-questions@FreeBSD.ORG Subject: Re: upsd, automatic shutdown at low batt In-Reply-To: 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 > You can polll that info out of the UPS, then test those registers against > a constant. I think it looks like this when used: > > on "recharge" <= 5.0 { > # do shutdown > } > > You should know how long your systems can run on battery power. If not, > do a test. :) Thanks. I'll give it a try. I do know how long my UPS can run *from a full charge* on battery power. However, I don't want to make the UPS wait till 100% power before turning back on after a power failure. I'd rather have it turn on at like 25%, knowing that the system will shutdown at 10% if the power goes out again. Thanks, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message