title: Manage app lifecycle and hibernate state
body: <p>I implemented according <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh986968.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/apps/hh986968.aspx</a> an c# OnSuspend function. It works fine in case of suspending simulation via Visual Studio, but in real usage hibernate and standby will not be detected. Windows 8 System Trigger <a href="http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.systemtrigger.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.systemtrigger.aspx</a> has also no power down events.</p>
  
  <p>How can I detect standby and hibernate with Windows 8 c# apps? </p>