You might want to take it to a local computer store and have them take a look at it. Although it may be hard to diagnose if the problem isn't happening all the time.
Explain to them what is happening and they'll probably suggest a replacement power supply.