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

Claim 15:
16. A non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs include instructions which, when executed by an electronic device, cause the electronic device to:
receive, on a power button of the electronic device when the electronic device is in a shutdown state, a pressing operation input by a finger;
compress a contact of the electronic device, wherein the contact is configured to move with the power button in response to the pressing of the power button by the finger, wherein when the contact is closed, a stroke of the power button is less than a maximum stroke of the power button;
in response to receiving the pressing operation on the power button:
power on the electronic device;
power on a fingerprint sensor of the electronic device, wherein the fingerprint sensor is not powered on when the electronic device is in the shutdown state; and
collect fingerprint data before releasing the pressing operation; and

log in to the electronic device in response to the fingerprint data match with a preset fingerprint data.