FS#13058 - sleep timer deactivates the idle power off

Attached to Project: Rockbox
Opened by jasontaylor (jasontaylor) - Monday, 19 October 2015, 15:40 GMT
Task Type Bugs
Category Operating System/Drivers
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.13
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Use of the sleep timer deactivates the idle power off. Both should be independent pathways to shutdown. The Idle Poweroff should initiate shutdown if there is no playback and no keypress inside the indicated time. The sleep timer only is to use keypresses. However, the actual behavior is for the sleep timer to disable the idle poweroff. This is a bug. Instead of either or it (If ... else if) should be two "If then .. If then" constructs.

The benefit is that you can save battery life if you leave the device on while player, or if you get interrupted. Currently, you can only do one.

To replicate:
use sansa clip, latest version. Set idle power off at 1 minute and sleep timer at 30 minutes (default). Play then pause for two minutes. Press volume button and note unit is on instead of off.
This task depends upon

Comment by MichaelGiacomelli (saratoga) - Monday, 19 October 2015, 22:03 GMT