# Hibernate the system - designed to be called via symlink from /etc/apcupsd To set up hibernation, see Power management/Suspend and hibernate.Ĭreate this in /usr/local/bin/hibernate as root: First, make sure the system hibernates cleanly. You can make your system hibernate instead of shutting down. When everything is ok, all that is left to do is enable the apcupsd service. Change TIMEOUT from 1 back to 0 in the /etc/apcupsd/nf file.
Next, wait about a minute and confirm the daemon is running and properly monitoring the battery: The default configuration is for devices connected over a USB cable. The main configuration file for the APC UPS daemon can be found in /etc/apcupsd/nf.
In the event of a prolonged power outage, should the APC UPS lose most of its battery capacity, it can tell the Linux box to perform a safe shutdown. The APC UPS can communicate with the Linux system through either a RS-232 or USB serial connection. This document describes how to install the APC UPS daemon.