I am using ZeroTier’s free tier to connect my computer, a Raspberry Pi and my phone, and I am loving it. But I have run into one seemingly insurmountable problem. The ZeroTier client on Android seems to be quite a battery hog. As a result I have to keep it switched off most of the time, and manually remember to switch it on now and then so sync’ing etc. will happen.

Are there any alternatives to ZeroTier, or to the ZeroTier client, that might use less battery on Android?

  • Several_Reflection77@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Also, if you want the self hosted option: Netbird. I have been using this for 1 1/2 years, works like a charm and comes with Linux/Windows/Android clients!

  • simpleFr4nk@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You can indeed use Tailscale ad remember to set the VPN On-Demand so you’ll get connected just when you’re outside your home network :)

    • Wdrussell1@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I don’t think that really solves the problem here. That will still use the VPN all the time when mobile. So the battery will still drain quickly. Zero Tier I admit is quite heavy compared to Tailscale but the battery issue remains.

      • simpleFr4nk@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You’re indeed right about having the vpn on all the times you’re on mobile, but at least when home it won’t drain more battery as it will closed, so it’s not the best solution, but still better than what OP is using imo

        • mikesellt@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          The always-on VPN does NOT close Tailscale when you’re home. At least mine doesn’t. If it’s on, it’s on all the time.

        • Wdrussell1@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I mean, the entire point of VPN like that is all time online. The better solution is likely a port forward for syncing.

  • cop3x@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use wireguard back to a pfsence box. I don’t notice any increased battery drain

    I just need access to my home network, so it dose the job.

    • shankargopal@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That sounds good! Any quick instructions for that? I couldn’t figure it out earlier and zerotier/tailscale seemed a lot easier.

      • tonytamps@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Tailscale uses Wireguard under the hood. ZeroTier uses something of their own.

        I assume Wireguard would only be as good as Tailscale regarding your battery problems.

        • Azuras33@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Tailscale uses wireguard with custom modification (to distribute key, use relay, use TCP). It’s not the same protocol as plain native wireguard.

        • wiuma@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          WireGuard alone don’t have this Batterie drain problem. Have it 24/7 on without issues.

          • tonytamps@alien.topB
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I didn’t say it did. I’m saying that whatever is going on now with ZeroTier for this person will likely remain the same after switching to WireGuard.

      • Ziomal12@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        this is pretty much all the guide you need but for a client input the same information into your wireguard app