Sync interval, battery and settings
Story: As a user I want to decide how often DAVsky syncs, so that I can balance up-to-date data against battery use.
Why this chapter: Calendars change constantly, address books rarely. DAVsky therefore keeps separate intervals, and Android can slow background sync down. Here you see both.
Settings at a glance
Open the menu in the account overview and choose “Settings”. The overview is divided into “Sync”, “Appearance”, “Events and reminders”, “Privacy”, “Troubleshooting” and “Device contacts”.
Sync intervals
Under “Sync” you set one interval each for calendars, contacts and tasks, for example “Manual only”, “Once a day”, “Hourly” or a custom interval.
- Open Settings → Sync.
- Tap the interval of the data type you want to change.
- Pick a value. Under “Custom…” you enter your own interval in minutes or hours.
Shorter than 15 minutes is not possible because Android does not run background jobs more often.
More switches on this page:
- Over unmetered connections only: background sync then waits for Wi-Fi. A sync started by button still runs immediately.
- Quiet hours: no background sync happens in this period. Afterwards everything is caught up; “Sync now” still works.
- Shake to sync: shaking starts a sync for the screen shown. Turn it off if it triggers by accident.
Push: changes immediately
With a UnifiedPush app such as ntfy, servers like Nextcloud can report changes immediately. Without a push service the sync interval applies. On the “Sync” page you see the state: whether a push service is installed, whether registration is running and how many of your servers offer push.
Battery optimization
If Android pauses DAVsky in the background to save battery, changes arrive late. DAVsky then shows “Battery optimization delays syncing” in the account overview.
- Tap “Open app info”.
- Choose “App battery usage”.
- Select “Unrestricted”. On some devices you first turn on “Allow background usage”.
The notice then disappears by itself.
Appearance
Under “Appearance” you choose the color scheme (“System”, “Light” or “Dark”) and, if you like, turn on “Modern design (Expressive)”, which is marked experimental.
Events and reminders
Under “Events and reminders” you set how far back DAVsky looks (“Past events”: older events are not fetched to the device, they stay on the server), a “Default reminder” for events that arrive from the server without one, and whether colors are taken from the server. Older events are fetched with the next sync if you widen the lookback.