Patent ID: 11966269
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 9:
10. A method for power supply control, applied to an electronic device including a power supply apparatus, wherein the power supply apparatus includes a first power supply component, a power over Ethernet (POE) component, a second power supply component, a first controller, and a power supply path management component;
the first power supply component is an adapter power supply component including an adapter and a power cord and power supply is capable of being implemented by plugging the adapter into a socket;
the second power supply component is a battery power supply component, and the second power supply component includes a rechargeable battery;
the power supply path management component is configured to open or close a power supply path of a power supply component connected to the power supply path management component, to implement power supply switching between different power supply components;
the POE component is connected to the first controller;
the first controller and the second power supply component are respectively connected to the power supply path management component; and
the first controller is configured to:
detect whether the first power supply component supplies power;
close the power supply path of the POE component when the first power supply component supplies power normally; and
control the power supply path management component to open the power supply path of the second power supply component when the POE component supplies power abnormally and the first power supply component does not supply power; and
the electronic device further includes a wireless communication component, wherein the wireless communication component is one of Long Range, Wireless Fidelity, Bluetooth, Zigbee, and Sub1GHz, is connected to the second controller of the power supply apparatus, and is configured to communicate with a server in a communication network under control of the second controller; and
the method for power supply control comprises:
detecting whether the first power supply component supplies power;
opening the power supply path of the POE component when detecting that the first power supply component does not supply power;
detecting whether the POE component supplies power normally;
closing the power supply path of the POE component when detecting that the POE component supplies power abnormally;
detecting whether the first power supply component supplies power when the POE component supplies power abnormally; and
opening the power supply path of a second power supply component when the POE component supplies power abnormally and the first power supply component does not supply power; and
after opening the power supply path of the second power supply component, the method for power supply control further comprises:
detecting power of the rechargeable battery of the second power supply component;
reducing a heartbeat frequency of the wireless communication component to a first frequency when the power of the rechargeable battery is less than a first predetermined value;
reducing the heartbeat frequency of the wireless communication component to a second frequency and reducing a system clock frequency when the power of the rechargeable battery is less than a second predetermined value; and
disabling a heartbeat function of the wireless communication component when the power of the rechargeable battery is less than a third predetermined value;
wherein the first predetermined value is greater than the second predetermined value, and the second predetermined value is greater than the third predetermined value, and the first frequency is greater than the second frequency.