A charging apparatus, comprising: an electric power source circuit including a first storage battery having a voltage set to a first value, a second storage battery having a voltage set to the first value, a three-phase alternating-current electric motor that is driven with alternating-current electric power, a first inverter connected between the first storage battery and the three-phase alternating-current electric motor, and a second inverter connected between the second storage battery and the load, the electric power source circuit being configured to drive the three-phase alternating-current electric motor; and a charging port that is configured to be connected to an external power source, when the first storage battery and the second storage battery are charged with electric power from the external power source, the charging port having a positive electrode terminal that is connected to a positive electrode side of the first storage battery, and a negative electrode terminal that is connected to a negative electrode side of the second storage battery, wherein in a case where the electric power output from the external power source is first electric power having a maximum voltage of the first value and a maximum current of a prescribed current value, the electric power source circuit is in a state where the first storage battery and the second storage battery are connected in parallel via the switches of the first and second inverters and the windings of the motor, when the first storage battery and the second storage battery are charged with the first electric power, in a case where the electric power output from the external power source is second electric power that is larger than the first electric power and having a maximum voltage of a second value that is larger than the first value and a maximum current of a prescribed current value, the electric power source circuit is in a state where the first storage battery and the second storage battery are connected in series via the switches of the first and second inverters and the windings of the motor when the first storage battery and the second storage battery are charged with the second electric power, wherein the the sum of the voltage of the first storage battery and the voltage of the second storage battery are set to the second value, and a control unit. an electric power source circuit including a first storage battery having a voltage set to a first value, a second storage battery having a voltage set to the first value, a three-phase alternating-current electric motor that is driven with alternating-current electric power, a first inverter connected between the first storage battery and the three-phase alternating-current electric motor, and a second inverter connected between the second storage battery and the load, the electric power source circuit being configured to drive the three-phase alternating-current electric motor; and a first storage battery having a voltage set to a first value, a second storage battery having a voltage set to the first value, a three-phase alternating-current electric motor that is driven with alternating-current electric power, a first inverter connected between the first storage battery and the three-phase alternating-current electric motor, and a second inverter connected between the second storage battery and the load, the electric power source circuit being configured to drive the three-phase alternating-current electric motor; and a charging port that is configured to be connected to an external power source, when the first storage battery and the second storage battery are charged with electric power from the external power source, the charging port having a positive electrode terminal that is connected to a positive electrode side of the first storage battery, and a negative electrode terminal that is connected to a negative electrode side of the second storage battery, wherein in a case where the electric power output from the external power source is first electric power having a maximum voltage of the first value and a maximum current of a prescribed current value, the electric power source circuit is in a state where the first storage battery and the second storage battery are connected in parallel via the switches of the first and second inverters and the windings of the motor, when the first storage battery and the second storage battery are charged with the first electric power, in a case where the electric power output from the external power source is second electric power that is larger than the first electric power and having a maximum voltage of a second value that is larger than the first value and a maximum current of a prescribed current value, the electric power source circuit is in a state where the first storage battery and the second storage battery are connected in series via the switches of the first and second inverters and the windings of the motor when the first storage battery and the second storage battery are charged with the second electric power, wherein the the sum of the voltage of the first storage battery and the voltage of the second storage battery are set to the second value, and a control unit.