rypox apps

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”.

Settings with the entries Sync, Appearance, Events and reminders, Privacy, Troubleshooting and Device contacts, each with a subtitle

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.

  1. Open Settings → Sync.
  2. Tap the interval of the data type you want to change.
  3. 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.

Settings Sync with intervals for calendars, contacts and tasks, a switch for unmetered connections only, quiet hours and shake to sync

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.

  1. Tap “Open app info”.
  2. Choose “App battery usage”.
  3. Select “Unrestricted”. On some devices you first turn on “Allow background usage”.

The notice then disappears by itself.

Account overview with the notice “Battery optimization delays syncing” and the button “Open app info” above an account card

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.