Skip to content

Commit c6621f5

Browse files
committed
Be more specific about Sync on battery setting, and enable it by default.
Fixes #60
1 parent 39703c1 commit c6621f5

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.idea/AndroidProjectSystem.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetSelector.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/phpbg/easysync/settings/Settings.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*/
2424

2525
package com.phpbg.easysync.settings
26+
2627
import kotlinx.serialization.Serializable
2728

2829
@Serializable
@@ -32,7 +33,7 @@ data class Settings(
3233
val username: String = "",
3334
val password: String = "",
3435
val syncOnCellular: Boolean = false,
35-
val syncOnBattery: Boolean = false,
36+
val syncOnBattery: Boolean = true,
3637
val conflictStrategy: ConflictStrategy = ConflictStrategy.IGNORE,
3738
val syncIntervalMinutes: Long = 360,
3839
val pathExclusions: Set<String> = setOf()

readme.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,16 @@ fully synced with your phone.
9797
2. You may also enable `Sync on cellular` and/or `Sync on battery` in `Synchronization settings` (
9898
available from home screen).
9999

100-
### Changes on DAV side are not immediately reflected
100+
We suggest keeping `Sync on battery` enabled for immediate photo syncing.
101+
Disabling it means syncs will only happen while charging on AC power, at Android's discretion (
102+
usually at night), making the timing unreliable.
103+
Even with `Sync on battery` enabled, EasySync should use very little battery.
101104

102-
In order to preserve battery we cannot detect quickly DAV changes. If you need immediate sync use "
103-
Sync now" button on home screen.
105+
### Changes on DAV server side are not immediately reflected
106+
107+
To preserve battery, updates from your DAV server are checked periodically.
108+
If you require an immediate synchronization, please use the `Sync now` button located on the home
109+
screen.
104110

105111
### Use a self-signed or a custom certificate
106112

0 commit comments

Comments
 (0)