You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed auto-pause not reaching server during sleep/hibernate — The AutoPause("sleep") API call was fire-and-forget and could fail silently if the network shut down before the call completed. This caused the server to keep the session as "Working" through the entire sleep period, inflating TotalDurationSeconds and preventing a new session from being created the next day.
What's New
Resume handler — After system wake, waits for network reconnection then verifies the pause was recorded on the server. If not, re-sends the pause.
Unlock handler — Same verification after screen unlock (common sleep/wake path).
Sleep recovery — If the Suspend handler didn't fire at all, the Resume handler detects the session is still Active and forces an auto-pause.
Files Changed
App.xaml.cs — Added PowerModes.Resume and SessionUnlock handlers