-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Stopwatch: allow sleep #2048
base: main
Are you sure you want to change the base?
Stopwatch: allow sleep #2048
Conversation
Build size and comparison to main:
|
So keep-awake was added in #432 I'm guessing it was so the device doesn't go to sleep right as you want to stop the timer / record a lap. So for people using the stopwatch to time things exactly / shorter durations, this PR is a regression. But when using the stopwatch for longer durations, keeping the screen on is a waste of energy and is annoying (e.g accidental touchscreen clicks while running from clothes) Maybe there's a solution that keeps both parties happy? |
That's true... Having a setting for the stopwatch specifically would be a waste of resources--maybe implementing a setting for all the apps to enable or disable sleep could be nice, although I don't know if the benefit would be great enough. I can see it possibly working if the user wanted to stop the watch from sleeping when using the navigation app, or maybe when playing a game? What do you think? |
Hmmm, I like the idea but I don't think it'll be convenient in practice as you may want different settings for each app, and also you need to remember to change it before you start the stopwatch. I think a keep awake toggle in the watch app itself (maybe hidden as a long press or a new button) is the only thing that would work, but I don't know how it'd be implemented in a way that keeps to the InfiniTime vision |
I meant something like a list of checkboxes in the settings app for each user app, and selecting one would enable/disable sleep for that specific app.
What part of the vision would it be violating? |
Oh right, sorry I misunderstood your checkbox idea. Still the point about toggling before, but it matters less.
There's no strict violation per se, but there are the "Prefer solid default experience over customization" and "Keep it simple" points. Personally I'm a KDE user so you can probably guess my opinion on these but I get why these are design goals for InfiniTime. It'd probably be best if JF weighed in on your idea though, as he definitely has the best idea of what the vision is all about |
Especially with #2141, I'm leaning towards allowing sleep by default as well. There's just not that many situations where I want a screen on stopwatch compared to one where I want to allow idling. It doesn't help that keeping the screen on means ghost touch inputs are very common |
Agreed! I just updated the branch and fixed merge conflicts, so feel free to review. |
I often use a stopwatch for things like running, and noticed that the watch won’t sleep when the stopwatch is running.
This PR gives the stopwatch the ability to run while the display is off.