Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Fix for default sleep timer duration as a shortcut

Fix for default sleep timer duration as a shortcut

From: Richard Quirk <richard.quirk_at_gmail.com>
Date: Fri, 05 Oct 2012 21:47:48 +0200

A couple of patches to do with the default sleep duration setting, the
first adds a "set_sleeptimer_duration" function that will be used in the
second.

    http://gerrit.rockbox.org/327
    http://gerrit.rockbox.org/328

My use case is: I have restart sleep timer when switching on set to
"yes", and reset timer when touching any buttons set to "yes". At night,
I set the sleep timer to 15 minutes, and fall asleep at some point
listening to music (maybe switching it back on if I don't fall asleep
right away). Then in the morning I set the timer to a large value that
it'll probably never have chance to reach during the day. That way I
don't have to touch any other setting to activate/deactivate the sleep
timer.
Received on 2012-10-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy