[Pm-utils] Basic powersave hooks

Victor Lowther victor.lowther at gmail.com
Fri Jun 27 21:50:16 PDT 2008


After getting annoyed at fedora's lack of support for laptop-mode, I
coded up a rudimentary set of hooks to enable/disable laptop mode,
perform the VM and FS tweaking needed to make laptop mode effective, and
enable/disable write caching and hard drive spindown.

The hooks (available in the powersave-hooks branch of the main fd.o git
repository[1]) are quite rudimentary and have hardcoded everything, but
should make a nice starting point for further hacking.

Other useful hooks, tweaks/fixes/complete rewrites, etc. welcome!

[1]http://cgit.freedesktop.org/pm-utils/log/?h=powersave-hooks

-- 
Victor Lowther
Ubuntu Certified Professional



More information about the Pm-utils mailing list