I too had this problem and i boiled it down to an over heating problem on the Ram fan. Just take off the back of your laptop and clean away the dust build up on the vent mesh with a toothbrush. problem solved for me i thought it was a software or a hardware problem but after cleaning all air vents the laptop has not shut down as of yet in the past week.
Hope this helps
Sorry i should also of added that i am using an acer aspire 6920g laptop, i disconnected and taken out Fan to get at the the inner component which i think is a heat sink and this had a lot of fluff build up blocking air from cooling.
i notice since cleaning, all temps have all gone back to normal settings