Powertrain electrification