Wake up from Sleep

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Does anyone have any ideas on how to implement a "sleep" mode and a
subsequent wake up from that sleep mode automatically via a timer in XPE?

If the motherboard has a real-time clock, would XPE allow the programming of
this clock to trigger an event that would wake the XPE system from its sleep
mode?

We have a requirement to allow the user to program a sleep schedule that
takes the XPE system down all the way and then back up again at a
predetermined time. I'm not familiar enough yet with XPE to know what is
possible and I would appreciate any help any of you can provide.

Thanks!
 
tvle,

Check out SetWaitableTimer API..
Just set parameter fResume=TRUE.

Along with the SetSystemPowerState/SetThreadExecutionState you carete any scheduled procedure for wake/sleep.
 
Back
Top