The devices detect sudden lane-swerving, mobile phone use while driving, and stopping in the middle of the road.