摘要:
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.
摘要:
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.
摘要:
The present disclosure provides a method of waking a portable electronic device and a portable electronic device configured to perform the same. In accordance with one embodiment, there is provided a method of conserving power on a portable electronic device, the portable electronic device having a device housing which comprises a touch-sensitive display, an accelerometer, and a force sensing transducer, the method comprising: causing the portable electronic device to enter a sleep mode in response to a trigger condition, wherein the touch-sensitive display is deactivated in the sleep mode and the force sensing transducer measures forces applied to the touch-sensitive display at a reduced rate relative to a rate of a full power mode when in the sleep mode; detecting an inertial event using the accelerometer; causing the force sensing transducer to measure forces applied to the touch-sensitive display at the rate of the full power mode in response to detection of an inertial event; detecting forces applied to the touch-sensitive display using the force sensing transducer at the rate of the full power mode; causing the touch-sensitive display to be reactivated in response to detection of a force which is greater than a predetermined wake force threshold; detecting touch events on the touch-sensitive display; and causing the portable electronic device to wake from the sleep mode in response to detection of a touch event within a first predetermined duration of the detection of the force which is greater than a predetermined wake force threshold.
摘要:
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.
摘要:
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.