Hmmmm. It could be a battery problem among other things. To test to see if it's your battery, I would take the battery out and just power the laptop with the charger. If the laptop stays on and runs normal using just the charger as power. I'd say it's safe to say your battery is the culprit. Also, it would be great to clean out the inside of the notebook and make sure nothing is hitting against anything else.