Подсмотрел в теме профайл Таскера для Нексуса:
Here is my tasker exported as description:
Profile: Setflag (3)
Event: Device Boot
Enter: CarMode (4)
A1: Variable Set [ Name:%REBOOTED To:1 Do Maths:Off Append:Off ]
A2: Airplane Mode [ Set:Off ]
A3: Bluetooth [ Set:On ]
A4: WiFi [ Set:On ]
A5: Car Mode [ Set:On Go Home:Off ]
A6: Night Mode [ Mode:Auto ]
Profile: Usbunplug (11)
State: Not Power [ Source:USB ]
Enter: Standby (10)
A1: Variable Set [ Name:%REBOOTED To:0 Do Maths:Off Append:Off ]
A2: Airplane Mode [ Set:On ]
A3: Bluetooth [ Set:Off ]
A4: WiFi [ Set:Off ]
A5: System Lock
Profile: Usbplug (12)
State: Power [ Source:USB ]
Enter: Reboot (6)
A1: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A2: Reboot [ Type:Normal ] If [ %REBOOTED = 0 ]
The tablet is on standby when I'm not in the car and the usb power naturally wakes it up on ignition (and then tasker makes its move and reboots it).
|