Chosen Solution

I have a problem with my macbook A1181. When the laptop is running, if I press hard the keyboard or the case on the left or right, my computer shuts down immediately. At the same time, if I press hard the keyboard, the Shutdown window pops up asking me if I want to shutdown the pc and in some cases after some seconds it shuts down on its own. I can’t use my laptop anymore. Any suggestions? Thanks! This website is terrific! Max

I fixed it! I opened up my laptop e noticed something loose on the top right part, above the optical drive. Now it works!! Thanks everybody! Max

double-check if the top case cable connector is well seated in his socket.

Open up the case and see if somethings loose. Also try verifying your HDD in disk utility.