Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  How to disable new "Prevent sleep timer from shutting down when charging" ?
« previous next »
  • Print
Pages: [1]

Author Topic: How to disable new "Prevent sleep timer from shutting down when charging" ?  (Read 271 times)

Offline DTSyX

  • Member
  • *
  • Posts: 49
How to disable new "Prevent sleep timer from shutting down when charging" ?
« on: June 11, 2025, 03:47:07 PM »
How can I disable the new default "setting" "2025-03-14: Prevent sleep timer from shutting down when charging" in v4.0?

I'd like the sleep timer to actually act like a sleep timer, not a "save my battery timer" or what the new default aims to address, i.e., shutting down after the set time no matter is the device is charging or not.
Is the some setting that can revert the behavior to the old default setting?

Edit:

There seems to be another change to the behavior of the sleep timer: When playback is paused, with v3.15 the device would shut down after sleep timer's time i up. With v4.0 it shuts down after idle power of time is up. I personally like the previous behavior better. Pausing playback isn't really the same as being idle. Stopping playback would be.
« Last Edit: June 12, 2025, 03:39:13 AM by DTSyX »
Logged

Offline chris_s

  • Developer
  • Member
  • *
  • Posts: 308
Re: How to disable new "Prevent sleep timer from shutting down when charging" ?
« Reply #1 on: June 15, 2025, 11:27:29 AM »
Quote from: DTSyX on June 11, 2025, 03:47:07 PM
How can I disable the new default "setting" "2025-03-14: Prevent sleep timer from shutting down when charging" in v4.0?

I'd like the sleep timer to actually act like a sleep timer, not a "save my battery timer" or what the new default aims to address, i.e., shutting down after the set time no matter is the device is charging or not.
Is the some setting that can revert the behavior to the old default setting?

There isn't a setting for this. Targets that used USB charging already weren't able to be turned off while charging, so this at least makes all players behave the same. It also matches the behavior of the idle timer, which only considers a player idle if it is not connected to a charger. Kind of makes sense to me that the two mechanisms would work the same. In theory the change could easily be reverted, except it was specifically adjusted at the request of someone else. Personally, I don't have a preference either way (nor a player that would be affected by this).

Quote from: DTSyX on June 11, 2025, 03:47:07 PM
There seems to be another change to the behavior of the sleep timer: When playback is paused, with v3.15 the device would shut down after sleep timer's time i up. With v4.0 it shuts down after idle power of time is up. I personally like the previous behavior better. Pausing playback isn't really the same as being idle. Stopping playback would be.
Rockbox considered the player to be idle when it is stopped or paused, even before this change (https://download.rockbox.org/daily/manual/rockbox-ipodvideo/rockbox-buildch8.html#x13-1760008.7.3). Arguably it was inconsistent that a running sleep timer unnecessarily kept the player awake when the idle timer had run out.  Do you have a specific use case in mind that conflicts with the new behavior?
Logged

Offline DTSyX

  • Member
  • *
  • Posts: 49
Re: How to disable new "Prevent sleep timer from shutting down when charging" ?
« Reply #2 on: June 19, 2025, 02:34:47 PM »
Well, I have been using v3.15 for the last few years on my H140. It stayed turned on for the duration of the sleep timer when paused and did not change it sleep timer behavior when the battery was charging - otherwise those I would not have noticed those changes after installing v4.0.

I'm still of the opinion that at least my player uses more battery life if shut down and rebooted than staying on in idle mode or paused where there's essentially no hdd/ssd activity - that of course is dependent on the time duration, but certainly true for the time difference between idle timer and sleep timer in my case. That's why I'd rather have my player stay turned on when paused than shut down after the idle timer is up.

But as I didn't have any issues with v3.15, I can also go back to that version - no biggy.

Update:

Meanwhile I learned how to compile rockbox and created a 4.0 version with two commits regarding the issue reverted (and a later one added). I'll have to test some more, but it seems like it's how I like it now.
« Last Edit: June 25, 2025, 03:11:07 AM by DTSyX »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  How to disable new "Prevent sleep timer from shutting down when charging" ?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.054 seconds with 16 queries.