Simple kill and restart when screen awakes?

164 views
Skip to first unread message

L Robbo

unread,
Jul 6, 2021, 7:48:21 AM7/6/21
to Tasker
Hi, I'm hoping for some help on what seems an easy task but is driving me nuts! 🤪

I have an android car headunit and I want to kill an app when the screen goes off. 
The headunit has it's own bluetooth app that never works right every time I get back in the car. 
BUT, If I manually force close the app before I get out of the car it starts it correctly every time I get back in
The headunit is Android 7.1.1. and is rooted

So basically this would be the task:
I get out of the car and the screen goes off (unit goes to sleep)
Kill the Bluetooth app (com.szchoiceway.btsuite)

Seems simple but I can't figure it out.

João Dias

unread,
Jul 6, 2021, 10:36:48 AM7/6/21
to tas...@googlegroups.com
  • Create a profile with the state > Display State > Off condition
  • in the task use the Kill App action and enable the root option
Should do it, I think :)

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


L Robbo

unread,
Jul 6, 2021, 5:04:28 PM7/6/21
to tas...@googlegroups.com
BIG thanks João 👍
Simple instuction and it works every time.
Top 🍌

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/HgmE0VluKIw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/CAG6Z%2BFdekBGWoBqPixB__Ry36nuWakOgMjm8dkcoddLfn5g_cQ%40mail.gmail.com.

João Dias

unread,
Jul 7, 2021, 4:47:03 AM7/7/21
to tas...@googlegroups.com
Great! :)
Reply all
Reply to author
Forward
0 new messages