Sleep control method, terminal, and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsYucheng Chen, Xue Fu, Kongpeng Xing
Life of this patent
Estimating the term…
Abstract
A sleep control method includes determining a positioning request sent by an application; and determining whether to control a positioning module configured for positioning to enter a sleep state, according to at least a demand positioning frequency of the application. An application may be assigned to a preset application list and associated with a preset positioning frequency to determine the allowed demand positioning frequency of the application. Controlling the positioning module to enter a sleep state may also be performed based on the type of positioning request.
Claims18
A sleep control method, performed by a terminal, comprising:
- determining a positioning request sent by an application on the terminal;
- and
- determining whether to control a positioning module configured for positioning to enter a sleep state, according to at least a demand positioning frequency of the application,
- wherein the method further comprises:
- obtaining an application list;
- determining that the demand positioning frequency of the application is less than or equal to a positioning frequency threshold, in a case that the application belongs to the application list;
- and
- determining that the demand positioning frequency of the application is greater than the positioning frequency threshold, in a case that the application does not belong to the application list.
A terminal, comprising:
- a processor;
- a memory, configured to store executable instructions of the processor;
- wherein the processor is configured to:
- determine a positioning request sent by an application on the terminal;
- and
- determine whether to control a positioning module configured for positioning to enter a sleep state according to at least a demand positioning frequency of the application,
- wherein the processor is further configured to:
- obtain an application list;
- and
- determine that the demand positioning frequency of the application is less than or equal to a positioning frequency threshold in a case that the application belongs to the application list;
- and
- determine that the demand positioning frequency of the application is greater than the positioning frequency threshold in a case that the application does not belong to the application list.
A non-temporary computer-readable storage medium storing instructions that, when executed by a processor of a terminal, cause the processor to perform a sleep control method, comprising:
- determining a positioning request sent by an application on the terminal;
- and
- determining whether to control a positioning module configured for positioning to enter a sleep state, according to at least a demand positioning frequency of the application,
- wherein the method further comprises:
- obtaining an application list;
- determining that the demand positioning frequency of the application is less than or equal to a positioning frequency threshold, in a case that the application belongs to the application list;
- and
- determining that the demand positioning frequency of the application is greater than the positioning frequency threshold, in a case that the application does not belong to the application list.
Dependencies are inferred from the claim text.