OS X Mavericks: Using the power button
Learn how the power button works in OS X Mavericks.
OS X Mavericks updates the power button behavior on Mac computers.
Using the Power Button to Sleep & Wake
Tap the power button in Mavericks to put your Mac to sleep or to wake it up:
Press the power button for less than a half a second to sleep or wake your Mac. This duration is similar to pressing the Space bar or Return key to wake your Mac. The power button works this way across all Macs using OS X Mavericks, including both notebook and desktop computers.
Accessing the Shut Down Dialog
Press and hold the power button for 1.5 seconds, to bring up additional options:
Forcing the Mac to Turn Off
Hold down the power button for 5 seconds to force the computer to turn off. Important: You may lose unsaved documents if you force the computer to turn off this way. Use this method of turning off your Mac only if it has become unresponsive for an extended period of time. Normally you should shut down the computer by selecting Shut Down from the Apple menu, or from the shut down dialog pictured above.
VoiceOver users do not receive an audible cue that the system has gone to sleep when pressing the power button. If your power button was accidentally pressed, wait a moment, then press the space bar to wake your system and continue working.
For more information about keyboard shortcuts, see "OS X keyboard shortcuts."