Patent ID: 9110652
Filing Date: 2015-08-18
Classification: G06F,H02J

Abstract:
1. An electronic device, comprising: a storage system; a battery having a minimum electric current and a maximum electric current, wherein the minimum electric current and the maximum electric current are determined by a type of the battery; at least one processor; and one or more programs being stored in the storage system and executable by the at least one processor, the one or more programs comprising: a control module operable to charge the electronic device with a first electric current from a computer connected with the electronic device via a universal serial bus (USB) interface of the electronic device when a difference between a battery voltage of the battery and a saturation voltage of the battery is greater than a predefined value, wherein the saturation voltage is a difference between a voltage corresponding to the minimum electric current and a voltage corresponding to the maximum electric current; a determination module operable to determine a USB interface voltage of the USB interface of the electronic device; a detection module operable to detect if the USB interface voltage is lower than a threshold voltage, wherein the threshold voltage is a lowest voltage that the electronic device can be recognized by the computer; the control module further operable to charge the electronic device with a second electric current from the computer when the USB interface voltage is not lower than the threshold voltage; the determination module further operable to determine an electric current of the USB interface of the electronic device when the USB interface voltage is lower than the threshold voltage; and the control module further operable to decrease the first electric current by a preset electric current value when the electric current determined by the determination module is not lower than an electrical energy consumption of the electronic device.