Well, I am glad you are getting a new PC, Ted. Sounds like a power supply unit problem. (Did you check you house voltage?? In the U.S. it's about 120 volts)If it's correct, then it must be your power supply, or a short on your motherboard??
I use a UPS (Uninterruptible power supply) with my computer, because where I live, we have power interruptions often ,(lights dim, flicker, and go out completely) and it would mess up my computer. (I always unplug everything if a lightning storm is coming, I don't trust surge protectors for lightning)