Tailscale turn off when not interactive

by Ruben

Version 1 (December 18, 2023)

Download (82 downloads)

Disables Tailscale when the device isn't "interactive". This saves a lot of battery.

I recommend configuring tailscale as a "always-on" vpn in the Android settings to allow it to turn on after a reboot.

The forks in this flow are required to handle a short "notification check", in which the loop doesn't have enough time to detect the change.