1. Download our Official Android App: Forums for Android!

Tasker - How do I set an either / or context?

Discussion in 'Android Apps & Games' started by avensys, Feb 18, 2011.

  1. avensys

    avensys Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Dec 1, 2010

    Dec 1, 2010
    3
    0
    5
    Hi,

    I have Tasker load an app when it detects my car bluetooth AND my battery level is over 50%. This works fine.

    However, I'd like it to load the app if the battery level is over 50% OR if power is connected instead but I just can't work it out.

    Any help appreciated!

    Kind regards,
    Mark
     

    Advertisement

  2. tobyjuggler

    tobyjuggler Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    183
    Joined:
    Jan 17, 2011

    Jan 17, 2011
    183
    40
    43
    Just clone the profile you have now and change the 50% battery level context to power connected.
     
  3. avensys

    avensys Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Dec 1, 2010

    Dec 1, 2010
    3
    0
    5
    Actally, that's a pretty good work around, thanks.

    However, I now have two separate profiles. Each adds one to a variable (called %batpower) when it activates and deducts one on an exit task. One checks that the battery level is over 50% and the other checks if on power.

    I then have a third profile that checks for Bluetooth and if the variable %batpower is greater than zero and loads the app. Since the variable will be greather than zero if either battery is over 50% or if on power this works just as I wanted. Granted I have three profiles instead of two :(

    Kind regards,
    Mark
     

Share This Page

Loading...