PowerBook G4 turns itself off automatically
I found a PowerBook G4 in my closet, so I turned it on and was using it just fine, and then without warning it turned itself off. When I boot it up I can hear an internal fan running, and it keeps running the entire time the computer is turned on. I'm not sure which OS it's running. Do I need to replace the fan, or is it something worse?