When I close mac lid it shuts down the computer

  Tom Selling 18:51 16 Apr 2018
Locked

I have had my macbook pro for about 4 months. The last couple of weeks it has started shutting down for no reason after closing the lid. If I close it and open it again in 30 mins then it is ok and starts from where I left off, but if I close it and leave it for a few hours it will shut down when it should just be sleeping. I've tried a few things like resetting the SMC but still have the same issue. Any help on this would be appreciated!

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Samsung Galaxy Book 2: Release date, price and specs

This First Man soundtrack vinyl cover art is exquisitely composed

How to watch Apple’s October 2018 iPad launch

Meilleurs VPN (2018)