Power mac G5 unexpectedly goes in sleep mode or shut down.
I was using my 2 year old G5 without any problem untill some weeks ago. Randomly it would go into sleep mode without any mesage, you could start it again by pressing any key. It would start working for a little while(minutes), but then it would freeze and either go in sleep mode again or eventually it would shut down (without any mesage). However the little light above the power button would stay on. If you don't touch the keyboard or computer it will try to start again by itself.
If in sleep mode it will just come back with the screens I was in or it will boot and try to go to login. I say try because sometime it will shutdown again before that.
It is not predictable when it will happen. Sometimes it doesn't happen for days and then suddenly two days in a row.
I thought it could have something to do with the power supply so I bought a ups power system, didn't help.
Who can help me with this?
Power Mac G5, 1.6 Ghz Mac OS X (10.4.8)