[PR #554] [MERGED] ask user to disable battery optimizations when turning on background backup #8673

Closed
opened 2026-02-05 13:51:17 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/554
Author: @fyfrey
Created: 8/30/2022
Status: Merged
Merged: 8/31/2022
Merged by: @alextran1502

Base: mainHead: feature/backgroundAskDisableBatteryOptimizations


📝 Commits (3)

  • fc9dd79 ask user to disable battery optimizations when turning on background backup
  • e44e24f remove obsolete texts/translations
  • a093745 add button link to dontkillmyapp

📊 Changes

8 files changed (+58 additions, -33 deletions)

View changed files

📝 mobile/android/app/src/main/kotlin/com/example/mobile/BackgroundServicePlugin.kt (+2 -20)
📝 mobile/assets/i18n/en-US.json (+4 -1)
📝 mobile/assets/i18n/ko-KR.json (+0 -1)
📝 mobile/assets/i18n/nl-NL.json (+0 -1)
📝 mobile/assets/i18n/pt-BR.json (+0 -1)
📝 mobile/lib/modules/backup/background_service/background.service.dart (+4 -8)
📝 mobile/lib/modules/backup/providers/backup.provider.dart (+4 -1)
📝 mobile/lib/modules/backup/views/backup_controller_page.dart (+44 -0)

📄 Description

The background backup works most flawless if "battery optimizations" are disabled. Since it is near impossible to do this programmatically (different for every manufacturer, device, version, ...) activating the background backup now only shows a dialog asking the user to perform the change manually (and lookup how to do it for their device)

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/554 **Author:** [@fyfrey](https://github.com/fyfrey) **Created:** 8/30/2022 **Status:** ✅ Merged **Merged:** 8/31/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feature/backgroundAskDisableBatteryOptimizations` --- ### 📝 Commits (3) - [`fc9dd79`](https://github.com/immich-app/immich/commit/fc9dd792fffa632b3be31b2d4ffb460ef5f5e9c1) ask user to disable battery optimizations when turning on background backup - [`e44e24f`](https://github.com/immich-app/immich/commit/e44e24ff43232adc58fa947cbcd09079f67b12bf) remove obsolete texts/translations - [`a093745`](https://github.com/immich-app/immich/commit/a0937455a70bcd6a6583ccd2f38e8f87caff7f91) add button link to dontkillmyapp ### 📊 Changes **8 files changed** (+58 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `mobile/android/app/src/main/kotlin/com/example/mobile/BackgroundServicePlugin.kt` (+2 -20) 📝 `mobile/assets/i18n/en-US.json` (+4 -1) 📝 `mobile/assets/i18n/ko-KR.json` (+0 -1) 📝 `mobile/assets/i18n/nl-NL.json` (+0 -1) 📝 `mobile/assets/i18n/pt-BR.json` (+0 -1) 📝 `mobile/lib/modules/backup/background_service/background.service.dart` (+4 -8) 📝 `mobile/lib/modules/backup/providers/backup.provider.dart` (+4 -1) 📝 `mobile/lib/modules/backup/views/backup_controller_page.dart` (+44 -0) </details> ### 📄 Description The background backup works most flawless if "battery optimizations" are disabled. Since it is near impossible to do this programmatically (different for every manufacturer, device, version, ...) activating the background backup now only shows a dialog asking the user to perform the change manually (and lookup how to do it for their device) ![image](https://user-images.githubusercontent.com/10599762/187478680-737424ac-314f-4507-bdf0-a1e9c57f917d.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:51:17 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8673