Laptop Power Management


Results 1 to 9 of 9

Thread: Laptop Power Management

  1. #1
    Join Date
    Nov 2002
    Location
    Dayton, OH
    Posts
    986

    Laptop Power Management

    I've been trying to Google this issue for a while now without much success. I am running Ubuntu 9.04 on an IBM Thinkpad T21 using the ubuntu-minimal install. That means I'm not using X11, Gnome, etc. just a tty console. All I want to do for power management is have the LCD backlight turned off after a set amount of time and for it to turn back on when I press a key or move the mouse. I DON'T want the system to ever suspend or hibernate. Any suggestions would be appreciated!
    "After all you've seen, after all the evidence, why can't you believe?"

    IBM Thinkpad T21
    750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
    Ubuntu 9.04 Minimal

  2. #2
    Join Date
    Sep 2002
    Location
    San Antonio, TX
    Posts
    2,607
    I use KDE, it overrides the bios settings. The odd time I have booted to single user and left it there while running fsck, the screen has turned itself off, obviously a bios function at that point. Have you checked the bios for these settings?

    hlrguy
    Were you a Windows expert the VERY first time you looked at a computer with Windows, or did it take a little time.....
    My Linux Blog
    Linux Native Replacements for Windows Programs
    Mandriva One on a "Vista Home Barely" T3640 E-Machine runs great.

  3. #3
    Join Date
    Nov 2002
    Location
    Dayton, OH
    Posts
    986
    Sorry for the delay in responding. I checked the BIOS and turned the setting "LCD Monitor Off" to be on a 10 minute delay. It does the same thing that it did before I turned that setting on. Basically the screen looks blank but the backlight for the LCD is still powered on. That was the only setting that I could see in the BIOS relating to the screen the rest controlled hibernation and suspension which I don't need. Any other suggestions are appreciated!
    "After all you've seen, after all the evidence, why can't you believe?"

    IBM Thinkpad T21
    750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
    Ubuntu 9.04 Minimal

  4. #4
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Try this....xset +dpms
    or vbetool
    Last edited by JohnT; 07-21-2009 at 07:21 PM.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  5. #5
    Join Date
    Nov 2002
    Location
    Dayton, OH
    Posts
    986
    Quote Originally Posted by JohnT View Post
    Try this....xset +dpms
    or vbetool
    If I use vbetool to turn dpms off will the monitor turn back on if I press a key or will I have to blindly use vbetool to turn dpms back on?
    "After all you've seen, after all the evidence, why can't you believe?"

    IBM Thinkpad T21
    750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
    Ubuntu 9.04 Minimal

  6. #6
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Wouldn't know...don't use it...only pointed it out as an option. I've always used the xset solution when needed. There may be others.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  7. #7
    Join Date
    Nov 2002
    Location
    Dayton, OH
    Posts
    986
    Ok I got a chance to try JohnT's suggestions. xset is out since it depends on having X11 installed and I don't have it installed and would rather avoid installing. vbetool dpms off worked to turn the backlight all the way off but then to turn it back on so I can use the system requires me to ssh in from another machine and run 'sudo vbetool dpms on' again. So I'm getting closer to a solution but not all the way there yet.
    "After all you've seen, after all the evidence, why can't you believe?"

    IBM Thinkpad T21
    750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
    Ubuntu 9.04 Minimal

  8. #8
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Last edited by JohnT; 07-29-2009 at 06:33 PM.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  9. #9
    Join Date
    Sep 2002
    Location
    San Antonio, TX
    Posts
    2,607
    I would set up a couple of aliases in my shell.

    alias lightoff="sudo vbetools dpms off"
    alias ligthon="sudo vbetools dpms on"

    Then, when the backlight is off, simply enter
    lighton
    <sudo password>
    to get the screen back.

    You might be able to set a control sequence to do the same. CTRL-O or something reset to turn it back on again.
    Were you a Windows expert the VERY first time you looked at a computer with Windows, or did it take a little time.....
    My Linux Blog
    Linux Native Replacements for Windows Programs
    Mandriva One on a "Vista Home Barely" T3640 E-Machine runs great.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •