APC Smart UPS

From Jeremy Bryan Smith
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:

  1. In order to control the UPS, you'll have to have the apcupsd software installed and configured.
  2. You'll have to stop the apcupsd service:
    sudo service apcupsd stop
  3. Start the apctest command-line tool:
    sudo apctest
  4. 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.
  5. 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.
  6. Start the apcupsd service:
    sudo service apcupsd start