Setting to reset sleep timer only in the last minute #478

Open
opened 2026-04-24 23:25:25 +02:00 by adam · 2 comments
Owner

Originally created by @lkiesow on GitHub (Feb 28, 2023).

With the recent app versions, the sleep timer now resets every time you move your phone. I have had this happen when picking up the phone, or while carrying it around, as well as a reaction to receiving a message (not sure if the phone vibrating caused the reset). It would be great if the reset would only happen once the audio starts fading out and the end on the timer is reached or for a short while after that. That was the previous behavior.

Steps to reproduce

  1. Start playing back an audiobook
  2. Set sleep timer for 30 min
  3. Wait 1-2 min
  4. Shake your phone

→ The sleep timer will reset to 30 min

Expected behaviour

  • Reset the sleep timer when shaking the phone only within about a minute of the sleep timer end (nefore and after).

Actual behaviour

  • Resets can happen as soon as you start the timer.

Environment data

Audiobookshelf Android: v0.9.62-bet

Originally created by @lkiesow on GitHub (Feb 28, 2023). With the recent app versions, the sleep timer now resets every time you move your phone. I have had this happen when picking up the phone, or while carrying it around, as well as a reaction to receiving a message (not sure if the phone vibrating caused the reset). It would be great if the reset would only happen once the audio starts fading out and the end on the timer is reached or for a short while after that. That was the previous behavior. ### Steps to reproduce 1. Start playing back an audiobook 2. Set sleep timer for 30 min 3. Wait 1-2 min 4. Shake your phone → The sleep timer will reset to 30 min ### Expected behaviour - Reset the sleep timer when shaking the phone only within about a minute of the sleep timer end (nefore and after). ### Actual behaviour - Resets can happen as soon as you start the timer. ### Environment data Audiobookshelf Android: v0.9.62-bet
adam added the enhancementsleep timer labels 2026-04-24 23:25:25 +02:00
Author
Owner

@advplyr commented on GitHub (Feb 28, 2023):

This is intentional and was requested by several users. We can add a setting to restrict the resets for the last minute.

@advplyr commented on GitHub (Feb 28, 2023): This is intentional and was requested by several users. We can add a setting to restrict the resets for the last minute.
Author
Owner

@hobesman commented on GitHub (Feb 28, 2023):

Have you tried experimenting with the shake sensitivity setting? Maybe on the lowest setting it wouldn't accidentally reset? I haven't used the sleep feature lately so I'm not sure how it handles.

@hobesman commented on GitHub (Feb 28, 2023): Have you tried experimenting with the shake sensitivity setting? Maybe on the lowest setting it wouldn't accidentally reset? I haven't used the sleep feature lately so I'm not sure how it handles.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#478