How can I properly measure the capacity of a UPS battery? Unplugging it from the wall is a bad idea since it loses the ground, so how can this be done?
|
|
If your UPS has a serial or usb port, there are some open source softwares that can read information from UPS. Which UPS model do you have? Which OS are you using? |
||||
|
|
|
This info I get from a Back-UPS CS 500 usb consumer model connected to a debian linux server using apcupsd:
|
|||
|
|
|
UPS batteries age over time, so their ability to sustain a load will diminish as it ages. It's for this reason that the more expensive UPS units include electronics built into the UPS itself that monitor battery condition, and then allow that to be queried by a port on the UPS itself. Older UPSes used straight up 9-pin serial connections for this, newer ones use USB or Ethernet. You will need some kind of software to query it, either one from a vendor or there are some open-source options. Electrically, it is really tricky to judge what condition the battery is in without having sensors on the inputs/outputs of the battery itself before the DC/AC transformer. You can get a rough idea by pulling the plug from the wall, or pulling the circuit-breaker for that outlet, and seeing how long it takes to run out of juice. This is not good on your equipment since it'll crash, but at least you'll have an idea how long you can run before kicking off shut-down scripts. |
|||
|
|