Skip to main content

Exclude Device Sleep from Android Playtime Tracking

šŸ“‹ Summary

Pause playtime tracking when an Android device sleeps, and resume tracking when gameplay resumes.


ā— Problem

Putting a handheld to sleep during a game can cause the sleeping period to count toward its playtime.

A short gaming session followed by several hours of sleep can therefore produce a heavily inflated total.


šŸ’” Proposal

Add Exclude Device Sleep from Playtime, enabled by default.

When enabled:

  • Stop counting time while the device is asleep

  • Resume counting when the user resumes playing

  • Handle multiple sleep and wake cycles within one session

  • Preserve the time played before sleeping

For example, playing for 20 minutes, sleeping for two hours, then playing for another 10 minutes should record 30 minutes.

Status: Open To Community1 comment

Log in to comment and vote

Comments1

  • AstroBob changed status to Open To Community
    Team•

    Oct 6

    Pinned

    Hi there!

    Thanks so much for submitting this request and for taking the time to explain your use case — that context is always super helpful.

    I’ve gone ahead and fleshed out the main idea using the info you provided, and I’m opening it up to the community for further discussion and feedback. Please let me know if this fleshed-out version doesn’t match your original intended request.

    Feel free to let me know if you have any extra thoughts, examples, or edge cases you think might be relevant!

    Cheers,
    The LaunchBox team