OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Power Management
scottlfa
post Dec 12 2007, 04:07 PM
Post #1





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



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.
Go to the top of the page
 
+Quote Post
stupkid
post Dec 13 2007, 08:58 AM
Post #2





Group: Members
Posts: 578
Joined: 2-January 04
From: Texas USA
Member No.: 1,324



Have you checked this thread?

http://www.oesf.org/forum/index.php?showtopic=25152
Go to the top of the page
 
+Quote Post
scottlfa
post Dec 13 2007, 04:00 PM
Post #3





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



Turns out setting the gnome-power-management functions did the trick.

Go to the top of the page
 
+Quote Post
gojira
post Feb 10 2009, 10:51 PM
Post #4





Group: Members
Posts: 124
Joined: 16-January 05
Member No.: 6,248



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...
Go to the top of the page
 
+Quote Post
scottlfa
post Feb 12 2009, 06:30 AM
Post #5





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



VooDoo I guess, mine did fine but others have issues ... sorry sad.gif
Go to the top of the page
 
+Quote Post
gojira
post Feb 14 2009, 07:26 PM
Post #6





Group: Members
Posts: 124
Joined: 16-January 05
Member No.: 6,248



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"
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th November 2014 - 06:59 PM