Mention somewhere to allow unrestricted background activity for the app #435

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

Originally created by @lukeIam on GitHub (Feb 4, 2023).

Steps to reproduce

  1. Don't allow background activity (or leave it on standard)
  2. Download a book with many mp3 files (tried multiple books)
  3. Let the screen go off (time out) while downloading
  4. See strange results

Expected behaviour

  • The download continues after launching the app again (after turning on the screen again)
  • or a note in the documentation to allow unrestricted background activity for the app

Actual behaviour

  • One of:
  • Apps download counter disappears or freezes while the android download continues -> book is never finished
  • Apps download counter is freezed and no android downloads anymore (sometimes it recovers sometimes not)
  • Two files are in process by the android downloader but are freezed and never continue

Environment data

Audiobookshelf Version: v2.2.14 (also with the version before)
Audiobookshelf App: 0.9.61-beta

  • Android App?

Android Issue

Android version: 12

Device model: Poco X3 NFC
(8 GB RAM, Octa core Snapdragon 732G)

Stock or customized system:
stock (MUUI 13.0.4 stable global)

Originally created by @lukeIam on GitHub (Feb 4, 2023). ### Steps to reproduce 1. Don't allow background activity (or leave it on standard) 2. Download a book with many mp3 files (tried multiple books) 3. Let the screen go off (time out) while downloading 4. See strange results ### Expected behaviour - The download continues after launching the app again (after turning on the screen again) - or a note in the documentation to allow unrestricted background activity for the app ### Actual behaviour - One of: - Apps download counter disappears or freezes while the android download continues -> book is never finished - Apps download counter is freezed and no android downloads anymore (sometimes it recovers sometimes not) - Two files are in process by the android downloader but are freezed and never continue ### Environment data Audiobookshelf Version: v2.2.14 (also with the version before) Audiobookshelf App: 0.9.61-beta - [x] Android App? #### Android Issue Android version: 12 Device model: Poco X3 NFC (8 GB RAM, Octa core Snapdragon 732G) Stock or customized system: stock (MUUI 13.0.4 stable global)
adam added the enhancement label 2026-04-24 23:22:56 +02:00
Author
Owner

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

Just curious if you disable background activity for the app are you still able to listen to an audiobook with the screen off?

@advplyr commented on GitHub (Feb 4, 2023): Just curious if you disable background activity for the app are you still able to listen to an audiobook with the screen off?
Author
Owner

@lukeIam commented on GitHub (Feb 4, 2023):

ok, there is no real "off" - my Android offers me:

  • "Unrestricted"
  • "Optimized" (The standard for every app)
  • "Restricted"

I was listening to three books without any problem with "Optimized" (just didn't change anything).
But out of curiosity I just checked "Restricted" -> playback seems to work (or the playback keeps the app alive).
But as I want to download books I'll switch back to "Unrestricted".

@lukeIam commented on GitHub (Feb 4, 2023): ok, there is no real "off" - my Android offers me: - "Unrestricted" - "Optimized" (The standard for every app) - "Restricted" I was listening to three books without any problem with "Optimized" (just didn't change anything). But out of curiosity I just checked "Restricted" -> playback seems to work (or the playback keeps the app alive). But as I want to download books I'll switch back to "Unrestricted".
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#435