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
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?