title: SetSystemPowerState problems
body: <p>I am using <code>SetSystemPowerState</code> to hibernate or put the computer to sleep.</p>
  
  <p>I successfully give myself the <code>SeShutdownPrivilege</code> privilege and everything is good and dandy.</p>
  
  <p>If I do <code>SetSystemPowerState(false, true)</code> the computer successfully hibernates.</p>
  
  <p>If I do <code>SetSystemPowerState(true, Kill);</code> the computer enters the "power save mode" or however it is called (s1 ???). The monitor goes black but the computer doesn't suspend (sleep) . What's more, after calling this once, the computer doesn't sleep (if selecting the option manually from the start menu).</p>
  
  <p>Normally there is no problem putting the computer to sleep... How could this be solved?</p>
  
  <p>New info:</p>
  
  <p>I've been experimented also with SetSuspendState. It causes the same result under even the simpliest of the programs (a window with a button). </p>
  
  <p>Hibernation works well in both cases (prompt AND programatically).</p>
  
  <p>Solved. It seems this was a well known problem with my graphic card's driver. It was not letting the computer fall asleep for x reasons. Updating it seems to have fixed the issue.</p>