1. Detection
Your car, by name.
During setup you pick your car from what your iPhone is connected to: its Bluetooth, or CarPlay, wired or wireless. From then on Odie treats that connection as the signal. A car you use with both is one car; Odie learns its CarPlay name on the first drive. When your phone connects to it and the motion sensor reports driving, a trip begins. When the car disconnects and you stop moving, the trip ends.
Odie wakes on significant location changes, roughly every 500 metres, and keeps GPS off until both conditions are met. Trips under 500 metres are dropped. A stop under five minutes, a drive-through or a red light, does not split a trip.
If your car has neither
Some cars, some Teslas among them, do not expose a hands-free name. Odie offers two fallbacks. A Bluetooth LE scan can look for the car’s low-energy signal. Failing that, motion-only mode starts a trip from driving motion alone and asks you to confirm it, because motion cannot tell your car from a taxi.
What stops it
Force quitting the app from the app switcher stops background wakes until you open it again. Odie notices and tells you. Turning location permission down from Always to While Using has the same effect.