This is brilliant and should be relatively easy to implement and stick behind a single configuration option called something like "smart backlight dimming".
Maybe it will be my first kernel hacking project if no one else jumps on it... Please, someone jump on it! You don't want my first foray into kernel code to be controlling your screen... ;o)