Preserve Playtime Tracking When Resuming From Sleep

📋 Summary

When a PC/laptop sleeps during gameplay (e.g., lid closed), LaunchBox stops tracking playtime upon wake because focus is lost. Add resilient playtime tracking that survives sleep/hibernate and continues seamlessly after resume.


🎯 Feature Overview

  • Detect OS sleep/hibernate and resume events during an active play session.

  • Automatically pause playtime tracking on sleep and resume tracking on wake without requiring manual refocus.

  • Option to “merge sessions split by sleep” so a single play session isn’t fragmented in stats/history.

  • Failsafe: if the game/executable is still running after resume, rebind tracking even if focus briefly switches.

  • Toggle in Options (e.g., “Resume playtime after system sleep/hibernate”).


🛠 Example Use Case

  • User is mid-game on a laptop, closes the lid for a meeting.

  • After reopening the lid, the game continues; LaunchBox tracking automatically resumes and the session’s playtime remains accurate.


📦 Benefits

  • Accurate playtime stats across real-world laptop use.

  • No manual intervention after sleep/hibernate.

  • Cleaner session history without unnecessary splits.

Please authenticate to join the conversation.

Upvoters
Status

Open To Community

Board
Custom icon

LaunchBox for Windows

Date

10 months ago

Author

OmiLaunchbox

Subscribe to post

Get notified by email when there are changes.