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

IPB

Welcome Guest ( Log In | Register )

> 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
 
Start new topic
Replies
scottlfa
post Feb 12 2009, 06:30 AM
Post #2





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 #3





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

Posts in this topic


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: 18th December 2014 - 02:29 AM