Although "Sleep" is a specific power mode in Windows, in this context sleep mode refers to a computer automatically going into standby, idle or display sleep mode. By default, most computers go into sleep mode when the mouse or keyboard is not touched for a certain length of time. Although sleep mode is useful for preserving energy, because it causes the screen to go black, it may be inconvenient when streaming movies or TV shows on your computer from the Netflix website.
Right-click on the desktop area and select "Personalize" from the menu.
Click the "Screen Saver" link under the "Personalize Appearance and Sounds" menu.
Click the "Change Power Settings" link under "Power Management" on the screen saver settings menu.
Select the "Change Plan Settings" link under your preferred power plan.
Click the arrow on the tab next to "Turn off the display" and set it to "Never."
Click the arrow on the tab next to "Put the computer to sleep" and set it to "Never."
Click the "Save Changes" button to confirm the changes, then close the box.
Click the "Apple" button, then click on the "System Preferences" button.
Select "Energy Saver" from the "System Preferences" menu, then click the "Sleep" tab.
Move the slider under "Put the computer to sleep when inactive for:" to "Never."
Move the slider under "Put the display to sleep when inactive for:" to "Never."
Close the "Energy Saver" menu to confirm your changes.