1. A system for collecting vehicle data, the system comprising: a mobile device of a user comprising a plurality of sensors; a memory; and a processor coupled to the memory, wherein the processor is configured to perform operations including: obtaining a plurality of movement measurements from at least one of the plurality of sensors in the mobile device; determining a plurality of transportation modes using the plurality of movement measurements; determining a mode transition using the plurality of transportation modes, the mode transition being associated with a change from a first transportation mode of the plurality of transportation modules to a second transportation mode of the plurality of transportation modes; determining a transition probability using the mode transition, the transition probability being associated with a probability of a change from the first transportation mode to the second transportation mode; creating a transition model using the transition probability; determining that the transition model indicates that a probability that the user of the mobile device is driving is above a threshold, wherein the probability indicates a likelihood that the second transportation mode comprises driving by the user of the mobile device; obtaining a plurality of driving movement measurements from at least one of the plurality of sensors, wherein the obtaining the plurality of driving movement measurements from the at least one of the plurality of sensors comprises: selecting a sample time based on the transition model; determining, at the sample time, the probability that the second transportation mode comprises driving by the user of the mobile device using the transition model; selecting a testing interval when the probability that the second transportation mode comprises driving by the user of the mobile device is above the threshold; and controlling the at least one of the plurality of sensors to obtain the plurality of driving movement measurements at the testing interval while the probability that the second transportation mode comprises driving by the user of the mobile device is above the threshold; and determining the vehicle data using the plurality of driving movement measurements to track a driving behavior of the user of the mobile device.