jurassicplayer / decky-autosuspend

A decky-loader plugin to automatically notify and suspend your steamdeck on low power.
Other
7 stars 0 forks source link

[Feature] Sleep timer / play timer #5

Closed OJ7 closed 12 months ago

OJ7 commented 1 year ago

Is your feature request related to a problem? Please describe. Not sure if this should be part of this plugin or a separate one should be created, but it seems related enough. It would be nice to have a sleep timer such that the device auto suspends at a specific time (bed time). A warning can be issued 30 mins, 15 mins, 5 mins, 1 min, etc before suspending. This is similar to the parental controls setting on Nintendo Switch.

Similarly, having a maximum play time setting per day which gives you notifications when reaching you play limit and auto suspends when reaching it (also from Nintendo Switch parental controls).

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. N/A

Additional context Add any other context or screenshots about the feature request here.

jurassicplayer commented 1 year ago

Seems relatively feasible (tentative). I probably won't implement quite so many warning notifications. One warning, maybe two max, at like 10-15 minutes left gives a reasonable amount of time to wrap up things. Not really useful as a parental control feature since at the moment, nothing is stopping anyone from just enabling/disabling AutoSuspend's settings, but I can see people using it just as a reminder/restriction for themselves to abide/ignore.

Notes to self:

OJ7 commented 1 year ago

Seems relatively feasible (tentative). I probably won't implement quite so many warning notifications. One warning, maybe two max, at like 10-15 minutes left gives a reasonable amount of time to wrap up things.

Thanks for the response! Yeah, I agree with the above about not too many notifications. Maybe 15 mins and 0 mins ("time's up") would be sufficient.

Not really useful as a parental control feature since at the moment, nothing is stopping anyone from just enabling/disabling AutoSuspend's settings, but I can see people using it just as a reminder/restriction for themselves to abide/ignore.

That's actually exactly how I used parental controls for myself on the Switch, though most times I would still ignore them 😅

jurassicplayer commented 1 year ago

Thought I'd give an update since I've finally gotten around to revamping things. There isn't any release yet, but currently:

jurassicplayer commented 12 months ago

So I've finally got around to at least the major stuff needed and pushed some things off for later releases to at least get something out. AutoSuspend v2.0.0 should have everything you need to at least satisfy this issue. Feel free to try it out from the download in releases, or wait until it reaches the decky testing/default store channel and re-open this issue if you run into any problems.

OJ7 commented 11 months ago

Just tested this out and works great! Awesome job on the redesign and allowing alarms to be very customizable! 🚀