Originally created by @benonymity on GitHub (Dec 19, 2022).
The iOS app somehow manages to use more power when playing audiobooks in the background than other apps do with the screen on. Some of this is probably due to background sync and progress saving, but maybe if the device is in low power mode the frequency of server syncing could be significantly reduced to preserve battery life?
Environment data
Audiobookshelf Version: 2.2.10
iOS Issue
iOS Version: 16.2
iPhone model: iPhone SE (2020)
Originally created by @benonymity on GitHub (Dec 19, 2022).
The iOS app somehow manages to use more power when playing audiobooks in the background than other apps do with the screen on. Some of this is probably due to background sync and progress saving, but maybe if the device is in low power mode the frequency of server syncing could be significantly reduced to preserve battery life?

### Environment data
Audiobookshelf Version: 2.2.10
#### iOS Issue
iOS Version: 16.2
iPhone model: iPhone SE (2020)
adam
added the bug label 2026-04-24 23:18:43 +02:00
On Android the sync time is increased to 1 minute when on a metered internet connection. Otherwise it is 5s.
I think we can increase the 5s regular sync interval to 30s. Then we will also decrease the size of the payload as another step. There is a github issue open for that which I think you opened.
@advplyr commented on GitHub (Dec 19, 2022):
On Android the sync time is increased to 1 minute when on a metered internet connection. Otherwise it is 5s.
I think we can increase the 5s regular sync interval to 30s. Then we will also decrease the size of the payload as another step. There is a github issue open for that which I think you opened.
Server update v2.2.12 may help with this. The sync API endpoint was returning the entire library item payload each sync. Now it is returning nothing.
@advplyr commented on GitHub (Jan 8, 2023):
Server update v2.2.12 may help with this. The sync API endpoint was returning the entire library item payload each sync. Now it is returning nothing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @benonymity on GitHub (Dec 19, 2022).
The iOS app somehow manages to use more power when playing audiobooks in the background than other apps do with the screen on. Some of this is probably due to background sync and progress saving, but maybe if the device is in low power mode the frequency of server syncing could be significantly reduced to preserve battery life?

Environment data
Audiobookshelf Version: 2.2.10
iOS Issue
iOS Version: 16.2
iPhone model: iPhone SE (2020)
@advplyr commented on GitHub (Dec 19, 2022):
On Android the sync time is increased to 1 minute when on a metered internet connection. Otherwise it is 5s.
I think we can increase the 5s regular sync interval to 30s. Then we will also decrease the size of the payload as another step. There is a github issue open for that which I think you opened.
@advplyr commented on GitHub (Jan 8, 2023):
Server update v2.2.12 may help with this. The sync API endpoint was returning the entire library item payload each sync. Now it is returning nothing.