Sometimes when we tried to put our MacBook Pro to sleep and the sleep button is greyed out. All we need to do is to open a terminal and type
sudo pmset disablesleep 0
and if we want to disable sleep then just type
sudo pmset disablesleep 1
Sometimes when we tried to put our MacBook Pro to sleep and the sleep button is greyed out. All we need to do is to open a terminal and type
sudo pmset disablesleep 0
and if we want to disable sleep then just type
sudo pmset disablesleep 1