A sensor processing method and device based on a mobile terminal
A mobile terminal and processing method technology, applied in power management, advanced technology, electrical components, etc., can solve the problems of power consumption of sensor equipment, sensors not released, and the system cannot sleep, so as to increase standby power consumption and reduce power consumption. , the effect of improving battery life
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] see figure 1 , shows the sensor processing method based on the mobile terminal provided by the embodiment of the present invention.
[0057] The sensor processing method based on the mobile terminal is applied in the mobile terminal, and specifically includes the following steps:
[0058] In step S101, detect whether the mobile terminal is currently in a standby state;
[0059] Wherein, the implementation scheme of detecting whether the mobile terminal is currently in the standby state can be: detecting whether the screen of the mobile terminal is in the off-screen state, and if so, it can be determined that the mobile terminal is currently in the standby state; if the screen of the mobile terminal is detected to be on state, it can be determined that the mobile terminal is currently in a non-standby state.
[0060] However, it is also possible to determine whether the mobile terminal is currently in the standby state in the following manner: for example, detect wheth...
Embodiment 2
[0088] see figure 2 , shows the implementation flow of the release sensor connection provided by the embodiment of the present invention.
[0089] The implementation process of the release sensor connection is applied to the mobile terminal, and specifically includes the following steps:
[0090] In step S201, the mobile phone automatically detects whether the screen is off;
[0091] In step S202, if it is detected that the screen of the mobile phone is turned off, it is further judged whether the power consumption management function is enabled;
[0092] In step S203, if it is judged that the power consumption management function is turned on, then traverse the current active connection interface queue of the mActiveConnections sensor;
[0093] In step S204, it is judged whether the application program corresponding to the connection interface in the queue meets the filter condition; wherein, the filter condition is: when the mobile terminal is in the standby state, the ap...
Embodiment 3
[0102] see image 3 , shows the implementation process of restoring the sensor connection provided by the embodiment of the present invention.
[0103] The implementation process of restoring the sensor connection is applied to the mobile terminal, and specifically includes the following steps:
[0104] In step S301, the mobile phone automatically detects whether the screen is on;
[0105] In step S302, if it is detected that the screen of the mobile phone is on, traverse the queue mSavedConnections to be restored;
[0106] In step S303, obtain the setting parameter information of the sensor from the parameter queue mSavedParams to be restored;
[0107] In step S304, call the enable method to restore the corresponding sensor connection, and re-add the connection interface to the current active connection interface queue of mActiveConnections;
[0108] In step S305, it is judged whether all the connection interfaces in the mSavedConnections to-be-restored connection queue ha...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com