摘要:
Described are methods and systems for controlling sensor use on an electronic device, the electronic device having a first sensor defining at least one first sensor axis, the method comprising: detecting a first sensor reading; determining an orientation of the electronic device; and, disabling the detection of the first sensor reading in respect an identified first sensor axis when the first sensor reading in respect of the identified first sensor axis is substantially not expected to change for at least a predetermined amount of time.
摘要:
A method and system are provided for calibrating a magnetometer. The method comprises detecting a change in a physical configuration of the mobile device; applying at least one stored calibration parameter as a respective active calibration parameter when one or more stored calibration parameters corresponding to the detected physical configuration change are accessible by the mobile device; and performing a calibration to obtain at least one additional calibration parameter when the at least one additional calibration parameter is needed and applying the at least one additional calibration parameter as a respective active calibration parameter.
摘要:
A method and system are provided for calibrating a magnetometer. The method comprises determining a current quality level associated with magnetometer readings obtained using an active set of calibration parameters; and lowering a quality threshold for a background calibration of the magnetometer when the current quality level exceeds a threshold quality level needed by an application utilizing the magnetometer readings.
摘要:
A method of controlling an electronic device having a touch-sensitive display includes determining a first value representative of force applied by an actuator to a touch-sensitive input device of an electronic device, controlling the actuator to modulate the force on the touch-sensitive input device for providing tactile feedback, determining a second value representative of force applied by the actuator to the touch-sensitive input device, and adjusting control of the actuator to adjust a subsequent force applied by the actuator based on a difference between the first value and the second value.
摘要:
A method and system are provided for calibrating a magnetometer. The method comprises determining a current quality level associated with magnetometer readings obtained using an active set of calibration parameters; and lowering a quality threshold for a background calibration of the magnetometer when the current quality level exceeds a threshold quality level needed by an application utilizing the magnetometer readings.
摘要:
A method includes determining first respective values representative of forces applied by a plurality of actuators to a touch-sensitive input device of an electronic device, controlling the actuators to cause the actuators to change the forces applied to the touch-sensitive input device, determining second respective values representative of the forces applied by the actuators to the touch-sensitive input device, and determining when there is a fault based on a change from the first respective values to the second respective values.
摘要:
Methods and devices for determining a noise variance of an axis of a gyroscope are described. In one aspect, the method includes: representing a plurality of gyroscope readings for the axis in a histogram, the histogram including a plurality of bins associated with respective ranges; determining a bias for the axis of the gyroscope by identifying a concentration of the gyroscope readings within the histogram; and determining a noise variance for the axis of the gyroscope based on the histogram and based on the identified concentration of gyroscope readings.
摘要:
Methods and devices to determine a mobile device housing position are described. An example device disclosed herein includes a housing having a first portion movably coupled to a second portion, the second portion to have a first position, a second position, and at least one intermediate position relative to the first portion, wherein the intermediate position is between the first and second positions; a position detector in the first portion, the position detector to measure a transitional magnetic field when the second portion is in the intermediate position and to measure a second magnetic field; and a processor to determine that the second portion is in the first position or the second position based on the transitional magnetic field and the second magnetic field.
摘要:
A method of controlling an electronic device having a touch-sensitive display includes determining a first value representative of force applied by an actuator to a touch-sensitive input device of an electronic device, controlling the actuator to modulate the force on the touch-sensitive input device for providing tactile feedback, determining a second value representative of force applied by the actuator to the touch-sensitive input device, and adjusting control of the actuator to adjust a subsequent force applied by the actuator based on a difference between the first value and the second value.
摘要:
Disclosed are methods and systems for stabilizing orientation values of an electronic device, the orientation values representing an orientation of the electronic device, the method comprising: obtaining first sensor readings from a first sensor; obtaining second sensor readings from a second sensor; evaluating the first sensor readings and the second sensor readings to determine whether the electronic device is stationary; locking the orientation values when the electronic device is stationary; collecting at least one of further first sensor readings and further second sensor readings while the orientation values are locked; determining whether the orientation of the electronic device is changing by more than a threshold amount based on one or more of the further first sensor readings and the further second sensor readings; and unlocking the orientation values for updating based on the further sensor readings when the orientation of the electronic device is changing by more than the threshold amount.