How can I tell if my computer went to sleep?

I'm trying to work out if my computer has actually fallen asleep, I have set it to fall asleep, but it restarts so quickly, I cannot tell if it was actually having zzzzs or not.

What logs are there to tell me when and if my PC fell asleep?


Oh I found it, only minutes after posting this.

  1. Crack open event viewer (eventvwr from the command line)
  2. event ID 42 in System log from source Kernel-Power as the sleeping event
  3. event ID 1 in System log from source Power-Troubleshooter for computer's awakening

The last and first logs entries upon sleeping/waking up

This command (from the commandline) also lets you know what is keeping your PC awake (if anything)

 powercfg -requests