Set it to shutdown when you have x minutes of battery left where x is enough to allow you to shutdown the system. There is an application in portage - nuts I think that is supposed to interface to UPSs.
> > From: "Suranga Kasthuriarachchi" <[EMAIL PROTECTED]> > Date: 2006/10/11 Wed AM 01:27:25 EDT > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] Configuring UPS for Gentoo > > Dear all, > > I'm having a 2.2KV APC UPS, and i'm connecting my Gentoo email server on it, > so what is the proper way to configure my server to auto shutdown, when the > Main power off. > > Thanking you, > > Suranga > > -- gentoo-user@gentoo.org mailing list