Have you replace the battery? be it's more likely it's just the battery.
You can check with volt meter if the voltage your chargers producing is normal.
For 12V DC battery your measurements should be 11VDC to 14VDC with load and 12VDC to 15VDC without load.
I suggest you replace that battery anyway, it's dead and it doesn't hold the charge anymore and it may damage your UPS system all together.