摘要:
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 and system are provided for controlling an electronic device, such as a mobile device. The method comprises using a magnetometer of the electronic device to obtain a reading; determining whether one or more properties of the reading matches at least one magnetic signature from a set of magnetic signatures, each magnetic signature being indicative of an expected magnetic influence from another object; if the one or more properties match a particular magnetic signature from the set of magnetic signatures, determining one or more actions associated with the particular magnetic signature; and enabling the one or more actions to be performed using the electronic device.
摘要:
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.
摘要:
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.
摘要:
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 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 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.
摘要:
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.