Format brightness as a percentage in the user interface.