APC Smart UPS
Jump to navigation
Jump to search
Battery Replacement
When the batteries are old or failing, you'll get this rather annoying message:
Emergency! Batteries have failed on UPS jeremy-pc.esilo.int. Change them NOW
So you'll have to physically replace the batteries, but afterwards you'll have to reset the battery date and run a self test:
- In order to control the UPS, you'll have to have the apcupsd software installed and configured.
- You'll have to stop the apcupsd service:
sudo service apcupsd stop
- Start the apctest command-line tool:
sudo apctest
- Choose the menu option for changing battery date (4 at the time of this writing with apctest 3.14.10) and enter the new battery date.
- Choose the menu option for performing battery calibration (10 at the time of this writing). This will drain the battery to around 25% so make sure you don't expect a power loss.
- Start the apcupsd service:
sudo service apcupsd start