• tychosmoose@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    I have heard that. Can it be given run conditions, like only on wifi, and respecting the Android battery saving setting?

    My phone has an always on split tunnel VPN to home, so the other sync devices are always accessible. Without the Syncthing-Fork run conditions it chews through mobile data and battery.

    • midribbon_action@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 minutes ago

      You’ll have to brew your own run conditions I think. For me, it’s not a big deal, just a bunch of documents and pictures and not much gets added every day. But termux does have access to network state, and I’m pretty sure syncthing accepts stop and continue execution signals, so a shell script shouldn’t be too difficult. Another possible option is to use termux:tasker.