Patent attributes
Systems and methods are disclosed for determining whether or not an apparatus, such as a mobile device, is being handled or otherwise used within a vehicle. The apparatus may comprise an accelerometer configured to measure acceleration and a gyroscope configured to measure orientation. The apparatus may determine an axis of gravity of the apparatus based on acceleration measurements made by the accelerometer over a period of time. The apparatus may also determine a rotation vector of the apparatus based on orientation measurements made by the gyroscope. Using the axis of gravity of the apparatus and the rotation vector of the apparatus, the apparatus may determine a rate of rotation of the apparatus perpendicular to the axis of gravity. If the rate of rotation of the apparatus perpendicular to the axis of gravity exceeds a threshold, the apparatus may determine that it is being handled or otherwise used within the vehicle.