If this is not already overtaken by events, what is your goal--are you trying to adjust the screen brightness for comfort and visibility during normal use? trying to stretch battery time on a laptop? trying to set the dimness level during periods of inactivity?