[Settings] Add/Fix auto brightness

Port from cyanogenmod