Laptop restarts when I close the lid

I recently installed Ubuntu-Mate 17.10 on a Lenovo y430 laptop. Whenever I close the lid the laptop screen will turn off. After I open the lid again the laptop screen will start to turn on and then the laptop just restarts. I have set the settings so that it is not supposed to do anything when the lid closes and scoured the internet, but still the problem persists. Any help help given would be appreciated.

Perhaps you can find an answer here -

I tried the first answer and got a good result.

1 Like

It seems to of done the trick.
Thank you so much .

Great! Glad to hear that.

1 Like