作者vege1219 (應無所住)
看板MobileComm
標題[問題] tasker配置檔沒有啟動
時間Mon Apr 15 09:38:31 2024
車子熄火檢測藍芽OBD2,名稱VLinker MC-Android
條件%bt_connected ~ false
關閉導航王
https://imgur.com/FCt1fXl
https://imgur.com/eVPmPw6
單獨執行任務運行正常
但profile條件符合沒動作
profile低電量自動關機
https://imgur.com/Y5NVk0D
https://imgur.com/5VBnHfY
也是單獨運行任務正常
但搭配profile條件就沒啟動
tasker沒有電池最佳化為何還是如此?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.238.14.93 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/MobileComm/M.1713145114.A.108.html
1F:推 deltaz : tasker有權限問題 04/15 14:30
2F:推 jaspergod : 我是用手邊藍牙耳機測試,如果要實現藍牙中斷時關閉 04/15 14:34
3F:→ jaspergod : 導航王,要在BT連接中把反轉(Invert)打勾(我是用中 04/15 14:34
4F:→ jaspergod : 文,BT連接英文也許就是你那個connection),藍牙連 04/15 14:34
5F:→ jaspergod : 接中斷時就就會觸發了,或是我看到你有個啟動開啟, 04/15 14:34
6F:→ jaspergod : 我猜是藍牙連接時開啟導航王,那你在同個配置檔中, 04/15 14:34
7F:→ jaspergod : 新增一個"退出任務" 應該也能實現相同效果,不確定 04/15 14:34
8F:→ jaspergod : 哪種方法比較穩定,你可以自行測試 04/15 14:34
9F:推 jaspergod : 不過我是單純測試藍牙中斷時開啟APP,沒用Root終止 04/15 14:57
10F:→ jaspergod : 應用程式,這邊我就不確定了(個人無root) 04/15 14:57
11F:→ jaspergod : 04/15 14:57
12F:→ jaspergod : 另外一個問題,看起來是想要電量在20~30時自動關機? 04/15 14:57
13F:→ jaspergod : 我自己測試 長電源按鈕(呼叫關機選單)->wait-> 04/15 14:57
14F:→ jaspergod : AutoInput自動點選指定位置可行,但你如果有root情 04/15 14:58
15F:→ jaspergod : 況下找看看關機指令也許更簡單? 04/15 14:58
16F:→ vege1219 : 剛剛找了redit好像bt connected true要用EQ不是~, 04/15 19:54
17F:→ vege1219 : 我要再試試看 04/15 19:54
18F:→ vege1219 : 原來可直接下指令svc power shutdown關機 04/15 19:58
19F:→ vege1219 : 事件和狀態裡面都有藍芽,這兩個差別在哪? 04/16 07:27
20F:→ jaspergod : 沒測過不曉得 但我舉例的都是用狀態去做 04/16 09:40
21F:→ vege1219 : 我試出來了,使用事件->藍芽,條件設兩個,%bt_con 04/16 19:25
22F:→ vege1219 : nected EQ true還有%bt_name~Vlinker* 04/16 19:25
23F:→ vege1219 : eq要字符完全相同~可以內含萬用字元* 04/16 19:25