Programmatically changing your laptop’s screen brightness

So I've gained an interest again in improving my laptop's battery life. I started using Tamir's version over at CodePlex since his version does a bit more. Using reflector, huge chunks of it seems oddly simular to mine. The nice thing about his is it shifts the power mode. However, the one thing I'd like to see added is an auto-brightness adjustment. So I'm going to do that.

I found an MSDN article on how to query your backlight and set it. That code however is unmanaged and will need a wrapper for it.

I have a week before I start my new job, time to smack IOCTL_VIDEO around a few times and show it who's in charge (chances are not me).

David McNelis Jul 11, 2007 @ 1:07 PM

# 
Yet the fanboy uses Google Maps instead of Virtual Earth / Mapoint. Classic. :)

konks. Jul 14, 2007 @ 2:07 PM

# 
congrats dude, you'll do great.

Post a Comment

Please add 5 and 7 and type the answer here: