Added use permissions to write to the brightness setting.
Added code to set the brightness to 0 (works!).