Page 1 of 1
Wifi tethering switch
Posted: 30 Oct 2019 18:24
by Lucy
Hi.. i have a very successful and working flow to disable my wifi when i disconect. But cannot find a way ti do so with wifi tethering!? Is there such a way to auto turn off my hotspot like i do with my wifi?
Re: Wifi tethering switch
Posted: 31 Oct 2019 09:25
by anuraag
There is an action available Set WiFi Tethering State to toogle.
Re: Wifi tethering switch
Posted: 31 Oct 2019 10:41
by Lucy
Yep i seen that and was gonna use it. But there is no trigger like bluetooth and wifi to where some device disconnects to trigger that action for tethering
Re: Wifi tethering switch
Posted: 31 Oct 2019 11:44
by anuraag
You need root or maybe using dumpsys (maybe @desmanto could help).
Re: Wifi tethering switch
Posted: 31 Oct 2019 12:54
by icefox56
Some phones have this feature built in. But if you don't have it then check whether there is any notification on statusbar when devices are connected & disconnected. My old Samsung phone used to show how many devices are connected in notification. So if it shows 'zero' device then take advantage of this using "notification on statusbar displayed" 'contain text: 0 devices connected' , something like that...
My current phone running stock android doesn't have this tho.
Re: Wifi tethering switch
Posted: 31 Oct 2019 14:48
by Lucy
Ah.. thanks guys. Yeah i do get the notification... i completely forgot haha ima work on that. Thanks heaps
Re: Wifi tethering switch
Posted: 31 Oct 2019 15:11
by Lucy
Lol the notification idea worked. Such a simple yet with conditions and sleep a very effective work around. Thanks