A control arrangement and a method for controlling a powertrain of a medium-duty or heavy-duty vehicle. The method comprises a step of, in response to one or more driver-initiated indicators, adjusting a currently predicted route for the vehicle to a new predicted route, said new predicted route…