Patent ID: 8228043

Claim:
A system to charge batteries of a portable device simultaneously with supplying power to the device for its operation is comprising: a rechargeable battery, a DC power source connected at its output to a supply regulator; said supply regulator regulating its output voltage and limiting its output current just below the maximum allowable output current of said DC power supply, wherein the output of the supply regulator is supplying the operation of the portable device and its voltage corresponds to the supply voltage level required by the portable device, and the output of the supply regulator is further connected to the power input of a battery charger, charging said rechargeable battery, to a first terminal of a capacitor, and to a first input of a voltage comparator said capacitor having its second terminal connected to ground; said battery charger, charging with its output said rechargeable battery, having its operation controlled by a digital controller, wherein the battery is charged or discharged depending upon the output of the voltage comparator in order to reduce or increase a charge current depending upon a load current required by the portable device; said digital controller wherein its input is connected to an output of said voltage comparator and its output is connected to said battery charger, wherein a time delay is implemented after any change of the charge current; and said voltage comparator having a reference voltage as a second input comparing said reference voltage with the output voltage of said supply regulator, wherein the value of the reference voltage is slightly lower than a nominal level of the output voltage of the supply regulator, wherein an indirect measurement of a current required by the portable device is performed using said voltage comparator and said capacitor and wherein, if the output voltage of the supply regulator is below the reference voltage, the digital controller decreases the charge current until the output voltage of the supply regulator comes back until a voltage level above the reference voltage is reached.