disable update_brightness function to avoid panics