I would check for dust inside the computer also try and put some new CPU ceramic compound clear all fans and heat sink from dust as well as the motherboard.
Seems to me it is a heat problem. if it was a power supply problem the computer would have a hard time turning on.
did your computer used to move real slow? lagged? or gave out constant heat at high levels?
if yes i suggest to clean your PC from dust.
Buy a duster from wal-mart or any electronics store they are usually less than $15.
It may be time for a new power supply if your computer keeps shutting down at random times, or gets hot very quickly, you may want to act fast in order to keep from your computer crashing.
Frequent power supply
There are too many possible causes of failure to comment on them here without further information not provided in your question. There can be hundreds of different components in a computer power supply, each of which fail for different reasons and produce different symptoms in the power supply. Ultimately all electronics fails due to "old age" (just like people).
By shutting off the water supply prior to this valve of course
You could try re-setting your battery. Check your users manual or call the manufacturer for instructions. You could also type your computer brand and model into Google, along with the words "reset battery."
If it is a computer power supply it is the box that gives the computer its power from the outlet.
By shutting off the water supply and replacing the valve
In order to supply power supply to your computer you would need an outlet plug near your computer. Then you can plug your computer into that and necessarily, use an extension.
A virus, the computer overheating, too many programmes running at once :)
law of supply
There is no a short supply of weapons.
arterial narrowing occurs in all parts of the body, including the brain. As the process continues, the occlusion, or shutting off of the artery, eventually becomes complete, so that no blood supply can pass through.