A brake system for controlling the brake performance of a vehicle, the brake system comprising at least a brake, a control unit connected to one or more external condition sensors, one or more brake performance sensors, the brake and a driver assistance unit, wherein - the external condition sensors are configured to obtain parameters regarding conditions surrounding the vehicle, - the brake performance sensors are configured to obtain parameters regarding conditions of the brake, - the driver assistance unit is configured to monitor the surroundings of the vehicle and estimate a probability value of that the brakes should be applied to avoid a collision, - the control unit is configured to ∘ receive the obtained parameters from the external condition sensors regarding conditions surrounding the vehicle and the estimated probability value from the driver assistance unit and determine, based on said parameters from the external condition sensors and said probability value from the driver assistance unit, a surrounding threat level of the vehicle, o∘ receive the obtained parameters from the brake performance sensors regarding conditions of the brake and determine, based on said parameters from the brake performance sensors, a brake performance level, and ∘ heat the at least one brake if the brake performance level is below a first level and the surrounding threat level is above a second level, wherein the estimated probability value from the driver assistance unit is at least based on a hypothetically calculated time to collision if the at least one brake is not applied, wherein the control unit is configured to determine the surrounding threat level to be above the second level only if the probability value from the driver assistance unit is higher than a third level, such that the at least one brake is only heated if the probability of that it should be used is above the third level. - the external condition sensors are configured to obtain parameters regarding conditions surrounding the vehicle, - the brake performance sensors are configured to obtain parameters regarding conditions of the brake, - the driver assistance unit is configured to monitor the surroundings of the vehicle and estimate a probability value of that the brakes should be applied to avoid a collision, - the control unit is configured to ∘ receive the obtained parameters from the external condition sensors regarding conditions surrounding the vehicle and the estimated probability value from the driver assistance unit and determine, based on said parameters from the external condition sensors and said probability value from the driver assistance unit, a surrounding threat level of the vehicle, o∘ receive the obtained parameters from the brake performance sensors regarding conditions of the brake and determine, based on said parameters from the brake performance sensors, a brake performance level, and ∘ heat the at least one brake if the brake performance level is below a first level and the surrounding threat level is above a second level, wherein the estimated probability value from the driver assistance unit is at least based on a hypothetically calculated time to collision if the at least one brake is not applied, wherein the control unit is configured to determine the surrounding threat level to be above the second level only if the probability value from the driver assistance unit is higher than a third level, such that the at least one brake is only heated if the probability of that it should be used is above the third level. ∘ receive the obtained parameters from the external condition sensors regarding conditions surrounding the vehicle and the estimated probability value from the driver assistance unit and determine, based on said parameters from the external condition sensors and said probability value from the driver assistance unit, a surrounding threat level of the vehicle, o∘ receive the obtained parameters from the brake performance sensors regarding conditions of the brake and determine, based on said parameters from the brake performance sensors, a brake performance level, and ∘ heat the at least one brake if the brake performance level is below a first level and the surrounding threat level is above a second level, wherein the estimated probability value from the driver assistance unit is at least based on a hypothetically calculated time to collision if the at least one brake is not applied, wherein the control unit is configured to determine the surrounding threat level to be above the second level only if the probability value from the driver assistance unit is higher than a third level, such that the at least one brake is only heated if the probability of that it should be used is above the third level.