Patent ID: 11899879
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 0:
1. A stylus detection method implemented by a terminal, wherein the method comprises:
detecting for an input signal of a stylus at a first frequency;
receiving a first input of the stylus through a touchscreen of the terminal;
switching, in response to the first input, to detecting for the input signal at a second frequency;
switching to detecting for the input signal at a third frequency when a first duration during which the terminal does not detect the input signal while detecting for the input signal at the second frequency is greater than a first time period, wherein the second frequency is greater than the third frequency, and wherein the third frequency is greater than the first frequency;
receiving a second input of a user while detecting for the input signal at the second frequency;
turning off, in response to the second input, the touchscreen; and
switching, in response to the second input, to detecting for the input signal at the first frequency.