Evaluating the state of health of lead-acid battery used in UPS