laptop shuts down when put on suspend

view full story

http://askubuntu.com – My laptop (SONY VAIO VGN-NS140E) shuts down when I close the lid or manually put it on suspend, even though I set values for both battery and plug to suspend in Power Management. It also shuts down instead of suspending when I choose "suspend" from the menu. I was running 10.10 before and never had this problem until one day for some unknown reason it started doing that (shutting down on lid closed). I started researching this issue but it seems like no one else is having the exact problem as I do. So I upgraded to 11.04 and eventually 11.10 but the issue persists on all versions. I'm not sure (HowTos)