Method for controlling power of electronic device and electronic device thereof
Abstract
An electronic device and method and power supply are disclosed. The electronic device includes comprising a connector for electrically coupling with an external power supply unit, and a processor. The processor implements the method, which includes detecting a connection state with the external power supply unit, and detecting whether power supplied from the external power supply unit is abnormal, and controlling the power when the power supplied has an abnormal value. The power supply may include a connector for electrically coupling with an electronic device, and a processor for detecting a connection state with the electronic device, detecting whether power supplied to the electronic device by the power supply unit has an abnormal value, and controlling the supplied power when the power is abnormal.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method for operating an electronic device, the method comprising:
detecting, by a processor, a connection with a power supply unit through a connector;
in response to detecting the connection with the power supply unit, determining, by the processor, whether power supplied from the power supply unit has an abnormal value;
in response to detecting the abnormal value for the power, controlling, by the processor, to cut off the power input through the connector from the power supply unit;
providing, by the processor, information associated with cut off of the power in cooperation with an application processor; and
transmitting, by the processor, error information indicating a power abnormality to the power supply unit using a wireless transmission method via a communication interface.
2. The method of claim 1 , wherein the electronic device is electrically coupled to the power supply unit via the connector having pin terminals, the method further comprising:
detecting a state of the connection based on a comparison of voltage received along a data plus terminal of the pin terminals with a predetermined reference voltage.
3. The method of claim 2 , wherein the determining whether the power supplied is abnormal further comprises:
detecting at least one of a voltage change and a current change of electricity along a VBUS terminal of the pin terminals.
4. The method of claim 2 , wherein the determining whether the power supplied has an abnormal value further comprises:
detecting a level of voltage change of a data pulse signal of a data pulse terminal of the pin terminals.
5. The method of claim 2 , wherein the determining whether the power supplied has an abnormal value further comprises:
detecting at least one of a voltage value and a current value for the connector between the power supply unit and the electronic device, the at least one of the voltage value and the current value indicating a charging state of the electronic device.
6. The method of claim 2 , wherein the determining whether the power supplied has an abnormal value is based on packet communication change between the power supply unit and the electronic device.
7. The method of claim 2 , wherein the providing the information further comprising:
when the power supplied is abnormal, disabling the power supplied from the power supply unit; and
displaying, on a display of the electronic device a warning message indicating that power supplied from the power supply unit has an abnormal value in cooperation with an application processor of the electronic device.
8. The method of claim 2 , wherein the controlling to cut off the power further comprises disabling a power switch of a VBUS terminal of the pin terminals.
9. The method of claim 2 , wherein the controlling to cut off the power further comprises at least one of:
disabling a VBUS voltage by deactivating an Over Voltage Protect Integrated circuit of a VBUS terminal of the pin terminals; or
cutting off the VBUS voltage by turning off an internal charging IC.
10. An electronic device comprising:
a display;
a communication interface;
a connector for electrically coupling with a power supply unit; and
a processor configured to:
detect a connection with the power supply unit through the connector,
in response to detecting the connection with the power supply unit, detect whether power supplied from the power supply unit has an abnormal value,
in response to detecting the abnormal value for the power, controlling to cut off the power input through the connector from the power supply unit,
provide information associated with cut off of the power in cooperation with an application processor; and
transmit error information indicating a power abnormality to the power supply unit as a wireless transmission method using the communication interface.
11. The electronic device of claim 10 , wherein the connector comprises electrical pin terminals, the processor is further configured to detect a state of the connection based on a comparison of voltage received along a VBUS terminal of the pin terminals to a predetermined reference voltage.
12. The electronic device of claim 11 , wherein the processor is further configured to detect the connection based on a comparison of voltage received along a data plus terminal of the pin terminals to a predetermined reference voltage.
13. The electronic device of claim 11 , wherein the electronic device further comprising a temperature sensor to detect a temperate change on at least one of a designated portion of the pin terminals, or a portion of the connector adjacent to the pin terminals.
14. The electronic device of claim 11 , wherein the processor is configured to determine whether the power supplied has an abnormal value by detecting at least one of a voltage change and a current change of electricity along a VBUS terminal of the pin terminals.
15. The electronic device of claim 11 , wherein the processor is further configured to determine whether the power supplied is abnormal by detecting a level of voltage change of a data pulse signal of a data pulse terminal of the pin terminals.
16. The electronic device of claim 11 , wherein the processor is further configured to:
when the power has an abnormal value, disable a power switch of a VBUS terminal of the pin terminals.
17. The electronic device of claim 11 , wherein the processor is further configured to:
when the power supplied is abnormal, disable the power supplied from the power supply unit; and
display, on the display of the electronic device a warning message indicating that power supplied from the power supply unit has an abnormal value in cooperation with an application processor of the electronic device.
18. The electronic device of claim 10 , the connector including pin terminals, and the transmitting the error information utilizes at least one of:
a data positive/data negative communication protocol;
a voltage communication protocol of a VBUS terminal of the pin terminals;
a voltage level adjustment;
an impedance adjustment; or
a pulse width modulation/pulse frequency modulation scheme.
19. A non-transitory computer-readable storage medium storing a program, that when executed, causes at least one processor to perform the method of claim 1 .Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.