Help - Search - Members - Calendar
Full Version: Power Management
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Debian
scottlfa
I am trying to set the behavior of my Z, specifically I want the screen to remain on when plugged in for instance ... and to set the times on the auto suspend and such when on battery power.
stupkid
Have you checked this thread?

http://www.oesf.org/forum/index.php?showtopic=25152
scottlfa
Turns out setting the gnome-power-management functions did the trick.

gojira
QUOTE(scottlfa @ Dec 14 2007, 11:00 AM) *
Turns out setting the gnome-power-management functions did the trick.


Is there a trick to that? I tried it and it changes the backlight levels when plugging/unplugging AC power but doesn't suspend on idle...
scottlfa
VooDoo I guess, mine did fine but others have issues ... sorry sad.gif
gojira
QUOTE(scottlfa @ Feb 13 2009, 01:30 AM) *
VooDoo I guess, mine did fine but others have issues ... sorry sad.gif


ok, I must be sacrificing the wrong number of chickens or something then. oh, well. gnome-power-statistics is cute though...

anyway, I've come up with a couple of alternatives


this one doesn't need X (just skip the "-s" line). also check the list of interrupts if you're not using a 3x00. also see sleepctl
CODE
sleepd \
-u 120 \
-i 75 -i 76 -i 81 -i 98 -i 100 -i 102 -i 103 -i 155 \
-s "xmessage -buttons abort -default abort -timeout 10 suspending && apm -s"


this one requires X but doesn't need dbus and hal like the gnome thing does
CODE
xautolock \
-time 2 \
-detectsleep \
-locker "apm | grep 'Off-line' > /dev/null && xmessage -buttons abort -default abort -timeout 10 suspending && apm -s"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.