The car is equipped with special device. The data is transmitted to the system where it is processed and sent to the insurance company.
During every trip the device counts the number of emergency breaking, speed-ups and over speeding. The system takes into consideration the optimality of speed rate. As a result you get the definition of your trip as well as the sum of money spent on petrol.