you are facing the same issue which I faced in my Dell Studio 1555 laptop. Mostly it is caused by bad SATA link power management due to which your HDD is getting too hot, which is present under the palm rest.
Install powertop and run it in superuse mode: sudo powertop.
In your case it should show you Bad.
- Install TLP as mentioned in the link.
- Open /etc/default/tlp
Search for: SATA_LINKPWR_ON_AC in that file.
Make the changes as follows:
Reboot the machine
It took me months to figure out what was causing this issue and got to know after opening my laptop to check what component is beneath the palmrest. :) I hope it is helpful for you.