• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help me troubleshoot my Car Dock profile

WraithTDK

Newbie
Jul 26, 2011
23
1
I'm having some strange issues with my car mode/car exit profile. I'm hoping someone can help me figure out where the problem is. The idea is that upon placing my Motorola Atrix 2 into the OEM navigation dock, Tasker should:

1. Turn on Bluetooth
2. Turn on WiFi
3. Turn on Auto-Sycn
4. Turn on GPS using the Secure Settings plugin

When I take my phone out of the dock, it should:

1. Turn off Bluetooth
2. Turn off GPS using the secure settings plugin
3. Wait five minutes (allowing me time to gather my things from the car and enter my house or wherever else I am)
4. Turn off WiFi if it hasn't connected to a WiFi network.

The profile I set up for putting the phone in the dock seems to to work perfectly. It turns everything on, and says that the task is active.

When I EXIT, however, things get a little strange. It turns off Bluetooth, GPS AND WiFi immediately. What makes it so weird is that after exiting, when I look in the "Docked Car" profile, the "stop" option is lit, as if it's still running.

Attached are screenshots of my setup. What am I missing? The only other clue I have is that if I run the entrance and exit tasks manually, the whole thing runs like clockwork; so it seems like it's tied to the trigger - IE the connection and disconnection from the dock.
 

Attachments

  • Screenshot_2014-01-24-18-33-03.jpg
    Screenshot_2014-01-24-18-33-03.jpg
    73.4 KB · Views: 44
  • Screenshot_2014-01-24-17-04-28.jpg
    Screenshot_2014-01-24-17-04-28.jpg
    52.1 KB · Views: 74
  • Screenshot_2014-01-24-17-04-45.jpg
    Screenshot_2014-01-24-17-04-45.jpg
    84 KB · Views: 66
  • Screenshot_2014-01-24-17-12-17.jpg
    Screenshot_2014-01-24-17-12-17.jpg
    69.7 KB · Views: 74
  • Screenshot_2014-01-24-17-12-21.jpg
    Screenshot_2014-01-24-17-12-21.jpg
    32.9 KB · Views: 62
Interesting, someone on the Google product forum pointed me towards the run log. That definitely provided a clue. It looks like a system process in my phone is shutting the WiFi off when it comes out of car mode

20140124 19.19.44 P Active ID3 Docked Car
20140124 19.19.44 T Running ID4 Driving Mode On
20140124 19.19.45 A OK ID4.1 Driving Mode On.Bluetooth
20140124 19.19.48 A OK ID4.2 Driving Mode On.WiFi
20140124 19.19.48 A OK ID4.3 Driving Mode On.Auto-Sync
20140124 19.19.48 A OK ID4.4 Driving Mode On.Secure Settings
20140124 19.19.48 T ExitOK ID4 Driving Mode On
20140124 19.20.39 P Inactive ID3 Docked Car
20140124 19.20.39 T Running ID-11 System
20140124 19.20.39 T Running ID13:2 Driving Mode Off
20140124 19.20.42 A OK ID-11.1 Anon.WiFi
20140124 19.20.42 A OK ID-11.2 Anon.Auto-Sync
20140124 19.20.42 T ExitOK ID-11 System

20140124 19.20.42 A OK ID13:2.1 Driving Mode Off.Secure Settings
20140124 19.20.43 A OK ID13:2.2 Driving Mode Off.Bluetooth
20140124 19.25.43 A OK ID13:2.3 Driving Mode Off.Wait
20140124 19.25.43 A OK ID13:2.4 Driving Mode Off.Profile Status
20140124 19.25.43 P Active ID5 Deactivate Disconnected WiFi
20140124 19.25.43 T Running ID6:3 Turn Off WiFi
20140124 19.25.43 A OK ID13:2.5 Driving Mode Off.Wait
20140124 19.25.43 A OK ID6:3.1 Turn Off WiFi.WiFi
20140124 19.25.43 T ExitOK ID6:3 Turn Off WiFi
20140124 19.26.13 A OK ID13:2.5 Driving Mode Off.Wait
20140124 19.26.13 A OK ID13:2.6 Driving Mode Off.Profile Status
20140124 19.26.13 T ExitOK ID13:2 Driving Mode Off
20140124 19.26.13 P Inactive ID5 Deactivate Disconnected WiFi
20140124 19.26.13 T Running ID-12 System

For now, I'm going to attempt a work around by adding an activate WiFi command to my exist task; but any idea what ID-11 might be?
 
Upvote 0
The work-around seems to have done the job. Must just be some weird aspect of Moto's OS tweaks, that WiFi turns off when the phone is removed from the dock. Whatever the case, I added "wait 5 seconds" and then "set WiFi to on" before the "wait 5 minutes and then turn WiFi off if not connected," and everything seems to be working well.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones