Add setBrightness implementation.