If I have an event that starts a timer with an interval of say, 30 minutes, and 15 minutes later, the computer the app is running on sleeps (Suspend to RAM) or Hibernates (Suspend to Disk), and is brought back online after ten minutes, will the timer raise its Tick event in 5 minutes (30 minutes REAL time from the start) or 15 minutes (30 minutes RUNTIME from the start)?
+2
A:
The timer maintains whatever state it was in before hibernation or suspension. When the system resumes from hibernate/restore, it will resume from where it was before. In other words, the timer will not run while the system is asleep.
Tim S. Van Haren
2010-10-12 18:17:31