If you want to adjust or disable sleep time on Mac OS X , follow my guide. If you are not continuesly using your Mac computer for particular time (by default around 10 to 13 minutes), you system automatically going to sleep or showing black screen. Technical people say “power saving mode”. You can change this settings via Mac OS X system preferences.
After your MacBook or Mac Pro going to sleep, your computer process will be continued in background.
This method is quite differnt in Mavericks. But functionality is same as Mac OS X Yosemite.
How to Adjust Auto Sleep Time on Mac OS X Yosemite and Mavericks
If you need to know current time duration setting for your Mac, launch Terminal from Spot light or from Applications/Utilities folder and paste the following command line.
sudo systemsetup -getcomputersleep
- Navigate to Apple Menu -> System Preferences and select Energy saver.
- Slide from left to right to increase MacBook Pro sleep time. It will popup alert message. Click OK to set time.
Also customize other Energy Saver settings if you need.
SEE ALSO : Enable / Disable Power charging indicator sound on MacBook when plugged in
How to change sleep time on Mac OS X using Terminal
If you want to adjust auto sleep time on mac with simple steps, just open Terminal app and past the following command. Just change the number which you need. Here 40 means 40 minutes.
sudo systemsetup -setcomputersleep 40
How to Turn off or disable auto sleep time on Mac
Open Terminal and paste the following command to completely turn off sleep time on Mac OS X.
sudo systemsetup -setcomputersleep never
Les sleep time is better to save power on Mac when is not in use. So try to set normal time.