Skip to content

SleepSync 1.0.0

Choose a tag to compare

@Baggio94 Baggio94 released this 16 Sep 09:44
· 39 commits to main since this release

SleepSync 1.0.0

First public release of SleepSync.

SleepSync is a lightweight Android companion for Syncthing-Fork that helps reduce standby battery drain by stopping Syncthing while the device is asleep and resuming it automatically when the device wakes.

Battery saving

On some Android handhelds, Syncthing can keep running during sleep and noticeably increase overnight battery drain.

In my own testing on an AYN Thor, overnight battery drain dropped from about 14% to 2% with SleepSync enabled.

Battery savings will vary depending on the device and configuration.

How it works

  • Screen OFF → Syncthing STOP
  • Screen ON → Syncthing FOLLOW
  • Reboot → SleepSync starts again automatically if enabled

SleepSync keeps working in the background even after its interface is closed.

Clamshell handhelds

SleepSync also works with Android clamshell devices such as the AYN Thor:

  • Close the lid → Syncthing stops
  • Open the lid → Syncthing resumes

The same behavior applies to other compatible handhelds where closing the lid turns the screen off.

Setup

  1. In Syncthing-Fork, enable
    Settings → Behaviour → Service Control by Broadcast
  2. Install SleepSync.apk
  3. Open SleepSync
  4. Tap Enable SleepSync

That’s it.

Highlights

  • No ADB or computer required
  • No account required
  • No Internet permission
  • Automatic restart after reboot
  • Light / dark theme support
  • Manual Test STOP and Test FOLLOW buttons
  • Last activity shown in the app

Tested on

  • Retroid Pocket Classic
  • AYN Thor

SleepSync is an independent, unofficial companion project and is not affiliated with or endorsed by the Syncthing or Syncthing-Fork projects.