You are not logged in.
Pages: 1
Hello. I was wondering if anyone knew how to go about setting up power management from the command line? Like adjusting brightness when ac adapter is plugged/unplugged, changing cpu profiles, suspend on lid close, etc. without having to use something like kpowersave and gnome-power-manager.
Any help would be appreciated, thank you.
Offline
hal? laptop-mode? I don't do much power management on my system, but I think all the necessary daemons and stuff aren't tied to X at all.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
hal? laptop-mode? I don't do much power management on my system, but I think all the necessary daemons and stuff aren't tied to X at all.
That stuff I know of. I'm talking about suspend, screen brightness dimmer, etc.
Offline
I don't know much details but you have scripts in /etc/acpi/actions/ which run in repsonse to conditions set by /etc/acpi/events/ There should be some stuff in there just from laptop-mode-tools. The only thing I ever did was add a line to run pm-suspend with a lid close, but I imagine you could get more sophisticated if you work at it.
Online
Is this relevant to your interests?
http://wiki.archlinux.org/index.php/Pm-utils
http://wiki.archlinux.org/index.php/Acpid
http://wiki.archlinux.org/index.php/Cpufreq
http://wiki.archlinux.org/index.php/Laptop
Last edited by spektre (2009-09-09 05:46:46)
Offline
The main problem I'm having is how to get my laptop to recognize when the AC adapter has been unplugged, and change accordingly. Is there a guide for this?
Offline
The main problem I'm having is how to get my laptop to recognize when the AC adapter has been unplugged, and change accordingly. Is there a guide for this?
$ cat /etc/acpi/handler.sh
Check out the acpid daemon and wiki. It can do pretty much everything you're looking for, as can the laptop-mode tools.
Last edited by thayer (2009-09-13 03:29:50)
thayer williams ~ cinderwick.ca
Offline
Pages: 1