AutoInput how to detect current power consuming apps?

Discussion in 'AutoApps' started by Erhy, Jul 13, 2019.

  1. Erhy

    Erhy New Member

    Joined:
    Aug 17, 2018
    Messages:
    3
    Likes Received:
    0
    Hello! Is it possible to detect whether an app is consuming much power and is currently active? Or, if I know such app like camera, whether this app is active.

    I experienced with the %WIN variable, but it delivers the text of e.g. camera if started shortly before, other way the text is 'last active apps'.

    I need this, because the value of 'magnetic field' is incorrect, while e.g. the camera app is active.

    Thank you for tips Erhy P.S. because I use German in Tasker, the terms I mentioned are not exactly the terms in English
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Maybe you can use AutoInput UI Query while the battery usage screen is open? :)
     
  3. Erhy

    Erhy New Member

    Joined:
    Aug 17, 2018
    Messages:
    3
    Likes Received:
    0
    Thank for your answer.
    I need this all, to switch off the display, if the flip cover will be closed.
    Now I realized my problem with UI Query of AutoInput.
    If %aiapp is 'Kamera' (in German) I skip the switch off action.

    I wonder that no Tasker Profile is necessary, to get the %aiapp text.

    Erhy
    PS.
    I notified very late, that after install of AutoInput it is necessary to activate it.
     
    Last edited: Jul 20, 2019
: power

Share This Page