A battery controller, electrically connected to a first battery and a second battery, to be operated at either a series mode or a parallel mode in response to an electrical requirement provided by a load module, comprising:
- a DC-DC converter for receiving a first input voltage provided by the first battery and converting the first input voltage into a converted DC voltage;
- and
- a series-parallel switch for receiving the converted DC voltage and a second input voltage provided by the second battery;
- wherein the series-parallel switch controls the converted DC voltage and the second input voltage to be a series output voltage applied to the load module under the series mode;
- wherein the series-parallel switch controls the converted DC voltage and the second input voltage to be a parallel output voltage applied to the load module under the parallel mode;
- wherein the battery controller comprises a processor for receiving the electrical requirement and controlling the DC-DC converter and the series-parallel switch in response to the electrical requirement;
- switching the parallel mode to the series mode in response to a first threshold by the processor;
- and
- switching the series mode to the parallel mode in response to a second threshold by means of the processor.