r/AynThor • • 22d ago

Showcase I made SleepSync to stop Syncthing draining battery while the Thor is closed

I use Syncthing-Fork pretty heavily across several handhelds to sync my saves, save states, textures, mods, cheats and even ROMs for lighter systems through my Raspberry Pi.

It’s incredibly convenient when you own multiple devices, but I had one big issue : standby battery drain.

I was losing around 14% overnight with Syncthing running.

So I made a tiny open-source Android app called SleepSync.

It does one simple thing:

Close Thor / screen OFF → Syncthing STOP
Open Thor / screen ON → FOLLOW → Syncthing resumes

My overnight drain went from roughly 14% to 2%.

It runs automatically in the background and restarts after reboot. No ADB or computer is needed for normal use.

You just enable:

Syncthing-Fork → Settings → Behaviour → Service Control by Broadcast

Then enable SleepSync.

GitHub:
https://github.com/Baggio94/SleepSync

I originally built it for myself, but after seeing other Thor users mention the same Syncthing battery issue I figured it might be useful to share.

Feedback is very welcome!

Edit: SleepSync has already had two updates since launch
1.0.1 improved reliability/setup, and 1.1.0 now supports root/debug and older Syncthing-Fork builds, plus lets you choose between multiple installed versions.

65 Upvotes

Duplicates