Set sleep and wake settings for your Mac
You can set sleep and wake settings for your Mac. For example, you can set your Mac to go to sleep after a specified duration of inactivity or set it to wake for network access.
Note: Some of the options may not be available, depending on your Mac.
Set your Mac to go to sleep after inactivity
On your Mac, choose Apple menu > System Settings, then click Lock Screen in the sidebar. (You may need to scroll down.)
Do any of the following:
Click the pop-up menu next to Turn display off on battery when inactive on the right, then choose an option.
Click the pop-up menu next to Turn display off on power adapter when inactive on the right, then choose an option.
Specify sleep and wake settings for a Mac laptop
On your Mac, choose Apple menu > System Settings, then click Battery in the sidebar. (You may need to scroll down.)
Click Options on the right, then do any of the following:
Put hard disks to sleep: Turn on Put hard disks to sleep when possible.
Update your system while it’s asleep: Click the pop-up menu next to Enable Power Nap, then choose an option.
Allow your Mac to wake briefly so users can access shared services (if applicable): Click the pop-up menu next to Wake for network access, then choose an option.
Specify sleep and wake settings for a Mac laptop
On your Mac, choose Apple menu > System Settings, then click Energy Saver in the sidebar. (You may need to scroll down.)
Do any of the following:
Put hard disks to sleep: Turn on Put hard disks to sleep when possible on the right.
Update your system while it’s asleep: Turn on Enable Power Nap on the right.
Allow your Mac to wake briefly so users can access shared services (if applicable): Turn on Wake for network access on the right.
You can also keep your Mac from going to sleep automatically in the advanced Displays settings.