# Explanation of the battery saving modes on Android

**URL:** https://forum.syncthing.net/t/explanation-of-the-battery-saving-modes-on-android/10134
**Category:** Android
**Created:** [July 11, 2017, 1:40am UTC](https://forum.syncthing.net/t/explanation-of-the-battery-saving-modes-on-android/10134 "2017-07-11T01:40:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wisha](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@wisha](https://forum.syncthing.net/u/wisha)
#### Post date: [July 11, 2017, 1:40am UTC](https://forum.syncthing.net/t/explanation-of-the-battery-saving-modes-on-android/10134/1 "2017-07-11T01:40:52Z")

</div>

I am new to SyncThing and not that familiar with Android. Every time I open SyncThing I see a prompt to disable Android battery optimizations. What are the tradeoffs with choosing disabling battery optimizations? I have searched around but not found a clear explanation. It seems like Android will silently kill SyncThing under some conditions (no user interaction for a certain amount of time?). If that’s the case, will SyncThing never recover on its own, or only when I open the app again? What about if I use the sync only on wifi or only while charging options? Will those changing conditions revive syncing even if Android stops it for battery optimization?

Besides the Android optimization, I also see options to respect the Android battery saving setting, keep the CPU awake, and run service with foreground priority. How do these interact with each other and battery optimization? I assume I should leave them alone until I have problems.

My initial use case is to use SyncThing as send only on an Android phone to a laptop as a way to backup some apps. If it only synced once a day that would be okay with me, so I’m not too concerned about Android stopping syncing as long as it can restart some time over the course of a day.

---

<div class="post-metadata">

### Author: ![Nutomic](https://forum.syncthing.net/user_avatar/forum.syncthing.net/nutomic/32/270_2.png) [@Nutomic](https://forum.syncthing.net/u/Nutomic)
#### Post date: [July 11, 2017, 4:13am UTC](https://forum.syncthing.net/t/explanation-of-the-battery-saving-modes-on-android/10134/2 "2017-07-11T04:13:37Z")

</div>

Its basically like you said. If battery optimizations are enabled, Android may kill the app if its not in use. Opening the app manually will start it again. Triggering wifi/charging conditions should also start it again (though I have never really tested this).

Keeping CPU awake or running in foreground are useful if disabling battery optimizations is not enough, and the app is killed anyway. I suggest you only enable those options if you need them, as they may cause extra battery usage.
