In the case of charging by a charging apparatus having a plurality of input terminals
to which external power sources for charging a secondary battery are inputted,
it is prevented that a current of the inputted power source is outputted to the
outside from the other input terminals for charging which are not used. If there
are inputs from a plurality of input terminals, the input power sources are controlled
so that the battery is optimally charged. pnp-type transistors Q1 and Q2
are arranged between two input terminals of a terminal 11 for an external
power adaptor and a terminal 12 for a holder and a secondary battery E1,
respectively. When a control IC 13 detects an input power voltage of one
of the transistors, the transistor on the detected side is turned on. If the control
IC 13 detects both input power voltages, a priority is allocated under predetermined
conditions and the secondary battery E1 is charged by the power source of
the higher priority.