I think I might have to rewire my home set up.

UPS connected to an extention cord.