Skip to content

Consider using a screen WakeLock for running speedometer #207

Open

Description

@julienw

I noticed when running on mobile that the screen is quickly dimming and even possibly turned off during the course of the run. I was wondering if the mobile's performance could be automatically reduced when the screen is off.

Therefore I was thinking that using a screen WakeLock could be beneficial.
One issue is that it's not supported in Firefox though I believe it could be implemented. But this shouldn't be a problem for comparisons if the user turns off the screen dimming/screen off. Although theorically keeping a screen WakeLock could also bump up some performance on mobile? I honestly have no idea.

I'd like to see what y'all think of this.

Activity

  1. changed the title [-]Consider using a WakeLock for running speedometer[/-] [+]Consider using a screen WakeLock for running speedometer[/+] on Jun 2, 2023
  2. bgrins commented on Jun 2, 2023

    @bgrins
    Contributor
  3. bgrins commented on Jun 2, 2023

    @bgrins
    Contributor
  4. rniwa commented on Jun 5, 2023

    @rniwa
    Member

    Seems reasonable.

  5. julienw commented on Oct 16, 2023

    @julienw
    ContributorAuthor

    This bug tracks the implementation of the WakeLock API in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1589554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions