by Peng Piaw Foong
This is an enhanced version of my Car Bluetooth auto on-off flow to include auto WiFi Hotspot on-off as well.
When detected in a vehicle, disable WiFi and enable Bluetooth. Also enable WiFi Hotspot to share the phone's Internet connection with devices in the vehicle. It will wait for 10 seconds for the phone to pair with the hands-free. After Bluetooth is disconnected (when you leave the vehicle), disable Bluetooth and WiFi Hotspot. It will then wait for 3 minutes before resuming the activity checking.
If no Bluetooth is paired within 10 seconds, you are probably a passenger in other vehicle. It will disable Bluetooth and wait a longer time of 30 minutes before resuming the activity checking.
It will not enable Bluetooth if the battery level is below 30% unless the phone is plugged to a charger.
Reviews and ratings can be submitted in the app.