I have an old apple G4. It stopped working and when it was turned on it would play the startup sound, wait a few seconds and then automatically shut down. The person at apple did a quick diagnosis and said it was the motherboard. I tried resting it and replacing the battery on the motherboard...