The brake light is illuminated when the brake pedal is depressed and when the car is braked automatically by one of the driver support systems.
The brake light also illuminates during regenerative braking if the braking force exceeds a certain level.