Hi,

I have an APC UPS also and APC Powershute software too. They work perfectly with avast! and I have never had any problems. I think avast! has nothing to do with your problem.

Have you tested the battery if it’s really working?
Do you have a process named “mainserv.exe” (service) running?