There is https://github.com/Catfriend1/syncthing-android as a direct alternative. When it comes to Termux (and Syncthing running inside it), I believe if you keep battery optimisations enabled for the Termux app in the Android settings, then it will be forced to sleep when Android is in doze mode.
12 Likes