How to shutdown hotspot if not connected to

Salil

Well-known member
Aug 24, 2011
75
1
8
Hello,
I have a Oneplus 3 and I usually turn on the hotspot while commuting to work. How can I set it up to turn off automatically when my laptop is not connected to it?
 
You could probably use something like Tasker or MacroDroid.