BrightnessPreference extends Preference
Class.
According to the docs
Preference class provides the View to be displayed in the activity
Where as what you are trying to do is open it as an activity using an intent, which according me is not possible.
You can set it programmatically as shown here