So I have this macbook from a few years ago. I got it because the harddrive died and it was more or less gifted to me. I put a new harddrive in it, installed a fully patched 10.6 and it functioned fine for months. Several weeks ago, it started turning itself off within 2 or so minutes of inactivity. It would show the dialog that gives you shutdown options and then, within like 5 seconds, it would power down unless you quickly clicked cancel. This wasn't intermittent, it was so annoyingly regular that the laptop was rendered unusable. Fail to press a key or touch the pad for a moment or two, lights out.
So I tried everything I could think of. I checked every setting I knew of in Mac OS, checked every log I could think of, etc.. I'm by no means any sort of expert in Mac OS, but it wasn't anything obvious that a reasonable proficient user could discover. I then tried to use the laptop unplugged, plugged with no battery, no difference.
Here is the strange part.
I put it aside for a bit, but this weekend I fired it up with an ubuntu live CD. It worked flawlessly. Stayed up for hours, went idle, came back, etc.. Nothing was wrong. So, of course, I tried to re-install Mac OS 10.6. But it turns itself off when booting up from the installation disk unless I provide input activity. It did the same thing if I provide input until it runs the installer and then discontinue input.
I ended up installing Ubuntu on it, which again works perfectly fine, but this is awfully strange. I want Mac OS on it, not ubuntu. I've looked online, but I haven't found anything about this, so if anyone here as any ideas or knowledge, please lay it on me.
