Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I replaced a battery in APC SmartUPS by hot-swapping. While the swap was all right and didn't disturb connected computers, the "Battery failed" LED on the front face kept glowing.

I tried to use apctest from apcups package. Turned off the daemon and run self test (first changing BATTDATE in EEPROM). The test run fine but didn't clear the REPLACEBATT status or the glowing LED.

How to clear the failed battery state without powering the UPS and connected equipment down?

share|improve this question
up vote 3 down vote accepted

To clear this status one needs to run the self test using the Test button on front panel.

share|improve this answer

You have to run a valid self test for the LED to clear. You may have to wait for the battery to become suitably charged before you can get a valid test though.

There is some information here about it.

share|improve this answer
It could be because the apctest does a deep discharge (to 25% or 10 minutes) while the front panel does a quick test (about 10-15 seconds). And then the old battery performance (in my case it was 2.5 year old) will be used as a capacity estimator. – Hubert Kario Oct 21 '10 at 17:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.