There are lots of questions about uninterruptible power supplies that are improperly tagged as apc (Alternate PHP Cache)
Here is a sampling but there are more.
Graceful Shutdown of Ubuntu Machine with APC UPS - Network to USB Cable
How to clear the REPLACEBATT state from APC UPS after hot-swapping the battery
I'm suggesting a new tag php-apc then do a merge and create another new tag apc-ups