Terminal Control Method and Terminal
AssigneeHuawei Technologies Co., Ltd.
InventorLei Chen
Life of this patent
Estimating the term…
Abstract
The present invention provides a terminal control method and a terminal, and relates to the field of electronic devices. The method includes when a magnetic field sensed by a Hall device of a terminal in a standby state is less than or equal to a first preset threshold, activating a sensor of the terminal, where the Hall device is configured to sense a magnetic field generated by a magnet in a protective case of the terminal. The method also includes obtaining, by using detection data of the sensor, whether the terminal is obstructed, and maintaining the standby state of the terminal when it is obtained that the terminal is obstructed. The method and the terminal provided in the present invention are applied to the terminal.
Claims17
1-14. (canceled)
A method, comprising:
- sensing, by a Hall device of a terminal, that a magnetic field is less than or equal to a first preset threshold;
- activating a sensor of a terminal, in response to sensing that the magnetic field is less than or equal to the first preset threshold, the sensing performed while the terminal is in a standby state, wherein the Hall device is configured to sense a magnetic field generated by a magnet in a protective case of the terminal;
- and
- maintaining the standby state of the terminal, in response to determining, using detection data of the sensor, that the terminal is obstructed.
A terminal, comprising:
- a protective case comprising a magnet;
- a Hall device, configured to sense a magnetic field generated by the magnet in the protective case;
- and
- a sensor, configured to obtain detection data while activated;
- a processor;
- and
- a non-transitory computer readable storage medium storing a program for execution by the processor, the program including instructions to:
- activate the sensor, in response to determining that the terminal is in a standby state and that a strength of the sensed magnetic field is less than or equal to a first preset threshold;
- and
- maintain the standby state of the terminal in response to determining, using detection data of the sensor, that the terminal is obstructed.
A terminal, comprising:
- a protective case comprising a magnet;
- a Hall device, configured to sense a magnetic field generated by the magnet in the protective case;
- and
- a sensor, configured to obtain detection data while activated;
- a processor;
- and
- a non-transitory computer readable storage medium storing a program for execution by the processor, the program including instructions to:
- disable the sensor, in response to determining that the terminal is in a working state;
- and
- maintain the working state of the terminal in response to determining, using detection data of the sensor, that the terminal is not obstructed.
Dependencies are inferred from the claim text.