The UPS should normally indicate when the battery has to be replaced. If the battery has been installed for enough hours to be fully recharged and the UPS still doesn't work, then your only options are to get the UPS repaired or replaced. I presume the UPS is powerful enough for all the equipement connected to it?