Abstract:
A device may receive sensor data regarding a user device; and determine, based on the sensor data, that a user of the user device is in a vehicle or driving the vehicle. When determining that the user of the user device is in the vehicle or driving the vehicle, the device may compare the sensor data, received from the user device, with a reference dataset that includes reference data associated with users being present in or driving a vehicle, or determine that a value of a measurement, received as part of the sensor data, satisfies a threshold that is related to whether the user is in the vehicle or driving the vehicle. The device may output a particular control instruction to the user device based on determining that the user is in the vehicle or is driving the vehicle.