i am wanting to get a ups but i know they can only last for a certain amount of time on a charge during an outage or surge but im curious is there anyway to protect the pc if the battery runs out on the ups during the outage like if im not home and this happens like software that can detect if there is an outage then the pc will shut itself down or something like that or will the pc be okay if the battery runs out on the ups?