Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using a screen WakeLock for running speedometer #207

Open
julienw opened this issue Jun 2, 2023 · 4 comments
Open

Consider using a screen WakeLock for running speedometer #207

julienw opened this issue Jun 2, 2023 · 4 comments
Labels

Comments

@julienw
Copy link
Contributor

julienw commented Jun 2, 2023

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.

@julienw julienw changed the title Consider using a WakeLock for running speedometer Consider using a screen WakeLock for running speedometer Jun 2, 2023
@bgrins
Copy link
Contributor

bgrins commented Jun 2, 2023 via email

@bgrins
Copy link
Contributor

bgrins commented Jun 2, 2023 via email

@rniwa
Copy link
Member

rniwa commented Jun 5, 2023

Seems reasonable.

@julienw
Copy link
Contributor Author

julienw commented Oct 16, 2023

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

@bgrins bgrins added v4 and removed v3-blocker labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants