Do not set the brightness if the value is the same as the previous one.