1) Click the Apple menu icon at the top right, and select System Preferences and then Energy Saver
2) From here you can: