iMac sleep/crash

My brand new ( 6 month) iMac G5 - keeps going to sleep unexpectedly.
guiseiz wrote on :

hello all, i would really really appreciate your help with this!

My brand new ( 6 month) iMac G5 - keeps going to sleep unexpectedly. sometime is in tinervals of 10 minutes.. other times ten seconds! its just sleep.. no powerdown..

but its unexpected and sometimes it barely even starts befre it goes to sleep.

i was wondering if anyone migh know what is causing it?