Controlling power parameters of the driveline