title: Prevent Windows desktop application from interrupting sleep
body: <p>I have a Windows desktop program (Tweetz) that interrupts/prevents sleep mode when running. The nature of the program is to monitor twitter and update the UI as tweets arrive. I suspect the network activity and/or updating the UI is preventing/interrupting sleep mode.</p>
  
  <p>Is there a System API that can tell Windows that an application should not prevent sleeping? </p>