Electrical energy is transferred between an on-vehicle DC power source and an off-vehicle DC power source by controlling conduction of the phase legs of a power inverter to operatively configure the power inverter and the stator phase windings of a traction motor as a switched-mode power converter including the at least one phase winding and at least one switch of one of the phase legs.