LCD brightness idle dimmer

T4x series specific matters only
Post Reply
Message
Author
yak
ThinkPadder
ThinkPadder
Posts: 1256
Joined: Thu Dec 06, 2007 3:17 pm
Location: NRW, Germany

LCD brightness idle dimmer

#1 Post by yak » Wed Mar 12, 2008 5:43 pm

Lately I've played a bit with ThinkPad hotkey driver for Windows. I managed to find a way to access its services from a Python script. This enabled me to easily control things like volume, screen brightness and ThinkLight. I've used Python because it's the best to quickly mock up some things that actually work.

One of more interesting usages for this is a screen dimmer. The idea is to lower the brightness of the LCD after some predefined user inactivity. Touching a mouse or pressing a key brings the previous brightness back. This is a nice power saving feature, I've read somewhere that it's available on Macs.

If you want to try it, make sure you have the latest Python installed. Then download this ZIP file and extract the files to some directory.

Now start the dimmer.pyw script and make sure that the LCD brightness isn't 0 and that you're on battery. If that's true, the screen should dim after 10s. Move your mouse to light it up again.

To configure the thing, simply edit the dimmer.pyw script (use your favorite text editor). Options are at the top of it.

If you like the dim, place a shortcut to the dimmer.pyw script into your Autostart folder.

The ZIP contains a ThinkLight blinking script too if you're interested.

Have fun.
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10

yak
ThinkPadder
ThinkPadder
Posts: 1256
Joined: Thu Dec 06, 2007 3:17 pm
Location: NRW, Germany

#2 Post by yak » Thu Mar 13, 2008 6:57 am

I've uploaded a video showing the dimmer to youtube:
http://www.youtube.com/watch?v=n7RLHP_c7gE
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10

yak
ThinkPadder
ThinkPadder
Posts: 1256
Joined: Thu Dec 06, 2007 3:17 pm
Location: NRW, Germany

#3 Post by yak » Sat Mar 15, 2008 12:43 pm

Detailed installation and configuration instructions have been added to ThinkWiki:
http://www.thinkwiki.org/wiki/Automatic ... ss#Windows
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10

sjthinkpader
Senior ThinkPadder
Senior ThinkPadder
Posts: 2908
Joined: Tue Jan 22, 2008 8:29 pm
Location: San Jose, CA

Re: LCD brightness idle dimmer

#4 Post by sjthinkpader » Sat Mar 15, 2008 12:48 pm

yak wrote:...
One of more interesting usages for this is a screen dimmer. The idea is to lower the brightness of the LCD after some predefined user inactivity. Touching a mouse or pressing a key brings the previous brightness back. This is a nice power saving feature, I've read somewhere that it's available on Macs.
....
Since CCF in LCDs have a definitive life span, leaving it on is not a good idea. Should simply turn the backlight off.
T60p 2623-DDU/UXGA IPS/ATI V5200
T60 2623-DCU/SXGA+ IPS/ATI X1400
T43p 2668-H8U/UXGA IPS/ATI V3200
R50p 1832-NU1/UXGA IPS/ATI FireGL T2
X61t 7762-B6U dual touch IPS/64GB SSD
X32 2673-BU6/32GB SSD
755CDV 9545-GBK Transmissive Projection LCD

yak
ThinkPadder
ThinkPadder
Posts: 1256
Joined: Thu Dec 06, 2007 3:17 pm
Location: NRW, Germany

Re: LCD brightness idle dimmer

#5 Post by yak » Sat Mar 15, 2008 1:28 pm

sjthinkpader wrote:Since CCF in LCDs have a definitive life span, leaving it on is not a good idea. Should simply turn the backlight off.
True but I don't know how to do it yet. My script uses the same backlight brightness setting that is accessible using the Fn+PgUp/Dn hotkeys.

One can always turn the whole LCD off (backlight and display) using the standard Windows options. I have it configured to dim the backlight quite early and turn the LCD off in next couple minutes.
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10

bluppfisk
Posts: 12
Joined: Sun Nov 16, 2008 10:22 am
Location: Berlin, Germany

#6 Post by bluppfisk » Tue Dec 09, 2008 4:15 pm

Hi yak! Great script, only one thing: it sends my cpu usage (also when clocked on 1,8 Ghz) all the way up to 100% (as shown by Notebook Hardware Control and tpfancontrol). So I'm afraid power saved by dimming the lcd is sort of annulled by the extra processor performance.

I don't know where to look, could you tell me what I should tweak?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T4x Series”

Who is online

Users browsing this forum: No registered users and 5 guests