I’m using Timer from Timers namespace.
What happens to timer when PC goes to sleep or hibernates?
I have timer set to 6 hours delay.
What will happen in those situations.
1) Timer starts at hour 0 and goes to sleep/hibernation immediately. Then PC wakes at hour 5. Will my timer fire after next 1 hour or after next 6 hours?
2) Timer starts at hour 0 and goes to sleep/hibernation immediately. Then PC wakes at hour 7. Will my timer fire as soon as PC wakes or will it “miss” that one time and fire in next 5 hours? Will it start counting till next event from time of PC waking or from previous “missed” event?
Ok.
I asked my friend and this are his results:
So in short.
After sleeping and waking timer checks if it has missed any event. If it missed one it will fire start counting till next event from 0.