Aren’t there any logs of what Syncthing is actually doing when consuming so much battery? It’s gonna be impossible to tackle without more data. It also seems related to Pixel phones + Android 16? Or are there other devices affected too?
Galaxy S21 FE (Android 15), no issues. Syncthing 2.0.9 (The Google Play release, though, by nel0x).
We already know that the issue isn’t connected to the wrapper but propably lies within syncthing itself. So what phones and Android versions do you actually use, guys? Maybe there is a connection, since we already have three Pixel phones lined up …
Just putting it out there, there are many complaints about battery-drainage and battery-protection functionality mot working related to Android 16 or Google Pixel.
But yeah, as said before, more info would be helpful.
OK for now there are six Pixel phones and one Samsung phone reporting battery drain. No drain on Samsung (as well), Xiaomi, Fairphone … So maybe not (?) just Pixel specific?
My linked reddit post was covering a Pixel as well though.
Thanks, I did not know that. I had also noticed a general degradation regarding battery life on my Pixel but nothing that serious (as seen on your reddit post). All I know is when I stop syncthing-fork or disconnect wifi (which does the same for me), the biggest contributor to battery drain is gone.
Can you please give us instructions on what you need and how to get it? Sadly I am not a developer …
Can’t really say what to look for exactly. But if Synching is draining as much energy as some here indicate, then it must do something - I’d say. So the logs may indicate what’s going on. I’m no expert when it comes to the mobile version, but usually with some traces enabled, the logs are quite useful.
It may be worth checking. In an idle state there usually isn’t too much happening, at least not continuesly.
Just to be clear, the old version (1.29.6) works on my Pixel 6a with Android 16 with no excessive battery usage whatsoever. This is not a general Pixel/Android battery drain issue, it is definitely something that changed in the latest syncthing (quite possibly in conjunction with Pixel/Android 16).
Actually, just maintaining the connection (e.g. to the discovery server, relays, and other devices) can drain a lot of battery, especially if you’re moving around on a mobile network. I think the main issue is if there is battery drain from the app when Syncthing proper isn’t even running (e.g. because it’s set to work only on Wi-Fi or when charging).
Pixel 6 with latest Android 16 here too, started looking after battery life got cut in half and ended up here. Managed to get the logs for syncthing-fork and syncthing itself, but they don’t show anything repeating endlessly etc. App has an SELinux denied message:
Syncthing has multiple “Failed to acquire open port“ warnings. I’ll gladly post the logs here, if anyone could confirm I’d not be leaking secrets. Thanks all for looking into this.
I don’t know if I understood correctly but I have no battery problems, as long as syncthing is not active. When Wi-Fi is off (only syncing on Wi-Fi) and syncthing does nothing, battery consumption goes back to normal again.