To our good fortune, both Windows and OS X provide a straightforward approach for determining the nature of the issue. When using Windows: You may access the Command Prompt in an administrative capacity by going to the Start menu, selecting Programs, then Accessories, and then right-clicking on the Command Prompt icon. After that, you should type: powercfg -requests. It will inform you if there is anything that is causing the computer to remain awake.