Patent ID: 11949356
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Electrical machinery, apparatus, energy (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 10:
11. An electronic device, comprising:
one or more processors;
a memory; and
one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprise instructions, and when the instructions are executed by the electronic device, the electronic device is configured to perform:
obtaining a battery status when a first motor vibration waveform vibration request is received, wherein the battery status comprises at least one of a battery temperature, a battery temperature and a battery level, or a battery power supply capability;
switching a motor vibration parameter when the battery status meets a preset condition, wherein the preset condition is that the battery power supply capability is lower than a first threshold, the battery temperature is lower than a second threshold, or the battery temperature and the battery level are lower than a third threshold array, and the motor vibration parameter comprises a motor vibration waveform or a motor vibration input voltage; and
driving a motor to vibrate based on a switched motor vibration parameter.