Are your batteries toast? Verify if you don’t know. I’ve only seen that when the batteries are well past expiry, it’s literally just the batteries running as long as they can.
The standard SLA batteries typically put in UPSs are meant to be replaced every 3 or 5 years, LiIon typically will last roughly twice that or more with proper care.
Figure anything out, OP?