Mitigating problems related to power-up or power-down of the driveline, e.g. start-up of a cold engine related to low temperature conditions, e.g. high viscosity of hydraulic fluid