AutoWear Triggered tasks don't start until the watch screen comes on

Discussion in 'AutoApps' started by tommy2tuggz, Jul 13, 2018.

  1. tommy2tuggz

    tommy2tuggz New Member

    Joined:
    Jul 11, 2018
    Messages:
    3
    Likes Received:
    0
    Hi,

    I am trying to set up a Tasker profile that is triggered when a shake event is detected. It seems that the event is detected on the watch, but that event detection is not sent from the watch to Tasker until the watch screen comes back on.

    Example:
    - Screen off, shake (screen stays off)
    - wait a few seconds
    - Wake up screen with button (no shake event)
    - Profile triggered by shake event hits and task is triggered.

    I've tried uninstalling AutoWear on both the watch and phone, no luck so far.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    To make sure Tasker and the AutoApps run in the foreground:
    - make sure Tasker is enabled
    - enable foreground notification in Tasker settings
    - enable the "Use reliable alarms" option
    - Disable battery optimization for the apps
    - Make sure the Android Settings -> Apps -> Tasker -> Battery -> Background activity option is enabled (this setting may be somewhere else on different OEMs, but it's a very important setting that might be disabled by default on some devices)
    - On Xiaomi devices enable "Auto Start" for the apps and "Display on Lock Screen" under "Other Permissions"
    - On Huawei devices disable Powergenie which stops apps from running in the background. Try going to Settings -> Battery, then tapping on the gear in the upper right corner. Disable "Close excessively power-intensive apps". Or use ADB:
    To disable powergenie use:
    adb shell pm disable-user com.huawei.powergenie

    To enable powergenie:
    adb shell pm enable com.huawei.powergenie

    Hope this helps!
     

Share This Page