Saving and restoring the brightness setting of a display I have a dual monitor display and I calibrate both displays. My calibrator generates a calibration profile for each monitor, however the brightness is not saved to the profile (apparently this is the same with all calibrators). This means that although I can now switch between profiles with ease, if I change the brightness of a monitor (deliberately or accidentally), I have no way of getting back to the brightness that is correct for the profile.

Is there any way I can save and restore the brightness of each monitor?

Note: When I say brightness I am talking about the Brightness slider found in System Prefs > Displays. The slider offers no clue as to the numeric value of the brightness, so there is no way to return to it.
One approach is to use the open source command line tool, brightness, to set the value on-demand. This way you could find your preferred brightness value and apply that value as needed, or per-profile.

Mac OS X Hints' discussion on Adjust brightness from Terminal covers the tool, how to compile it, and possible scripts to extend its use.

OS X Daily has also covered the tool in Adjust screen brightness from command line.