Managing the drivetrain for e-Mobility with BMS to reduce CO2 emissions