A calibration method and mobile terminal
A technology of mobile terminal and calibration method, which is applied in the direction of instruments, measuring devices, measuring electrical variables, etc., and can solve the problems that the user cannot provide effective positioning data and the magnetic sensor cannot be calibrated.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] refer to figure 1 , which shows a flowchart of a calibration method in Embodiment 1 of the present invention, which may specifically include the following steps:
[0025] Step 110, before the magnetic sensor of the mobile terminal or a sensor related to the magnetic sensor is turned on, it is judged whether a preset condition is met.
[0026] In the embodiment of the present invention, when a user uses a mobile terminal, many applications or devices themselves need to obtain the current location information of the mobile terminal, and the location data is obtained through magnetic sensors and related sensors, and the obtained data must be calibrated to be accurate. The user is provided with correct positioning information, so when it is detected that the magnetic sensor and related sensors are about to be turned on, it is further detected whether the current mobile terminal satisfies the preset condition.
[0027] Specifically, taking a mobile terminal installed with a...
Embodiment 2
[0032] refer to figure 2 , which shows a flowchart of a calibration method in Embodiment 2 of the present invention, which may specifically include the following steps:
[0033] Step 201, before the magnetic sensor of the mobile terminal or a sensor related to the magnetic sensor is turned on, it is judged whether a preset condition is satisfied.
[0034] This step is the same as step 110 and will not be described in detail here.
[0035] Step 202, acquiring first energy consumption information for calibrating the magnetic sensor of the mobile terminal.
[0036] In the embodiment of the present invention, taking a mobile terminal installed with an Android system as an example, the power consumption statistical data of each application can be obtained through its open power consumption interface, and the power usage summary of each application can be obtained by using the power statistics class PowerUsageSummary According to the relevant data of batteryinfo, it is further kn...
Embodiment 3
[0064] refer to image 3 , shows a structural block diagram of a mobile terminal according to Embodiment 3 of the present invention.
[0065] The mobile terminal 300 includes: a judging module 301 and a calibration mode enabling module 302 .
[0066] refer to Figure 4 , the functions of each module of the mobile terminal 300 and the interaction relationship between the modules will be introduced in detail below.
[0067] A judging module 301, configured to judge whether a preset condition is met before the magnetic sensor of the mobile terminal or a sensor related to the magnetic sensor is turned on;
[0068] The calibration mode opening module 302 is configured to calibrate the magnetic sensor if the preset condition is met; wherein the preset condition includes at least one of the following: the magnetic sensor is not calibrated, the magnetic sensor is not In the calibration state, the last calibration time of the magnetic sensor exceeds a second preset time, and the mob...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


