Internet context, like do task if internet connected or disconnected

Discussion in 'App/Feature Suggestion' started by soumyaranjanmahunt, Jan 5, 2019.

  1. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    57
    Likes Received:
    1
    While right now checking if internet is available possible in tasker, i would like to see internet context to do tasks when connected to internet or disconnected to internet.

    For example if i am connected in wifi but internet not available, then turn off wifi.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,405
    Likes Received:
    637
    Check for internet access every X minutes and in that task set %IsThereInternet to 1 or 0 depending on what it is.
    Then create a profile with the Variable Value state based on that variable :)
     
  3. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    57
    Likes Received:
    1
    I know that method but my question is
    Isn't it going to consume more battery, and it won't be that instantaneous either.
    Can it be done so that it triggers when system detects no internet connection?? Because i have seen an xposed mod do this, or is it just a xposed mod thing.??

    Sent from my ONEPLUS A5000 using Tapatalk
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,405
    Likes Received:
    637
    As far as I know there's no way of detecting that unless you check every once in a while.
     

Share This Page