One of the things I missed when I ditched That-Other-OS for Trisquel was an
advanced power management option that suspended and hibernated my netbook
automatically.
Some desktop environments come with power management components that handle
some of this, but I was dissatisfied with those and wanted a more system-wide
solution anyway. I prefer the system daemon sleepd, which runs at startup and
puts the computer to sleep after 10 minutes of inactivity. The package
provides sleepctl which lets you pause/resume the automatic suspend, and
there are other options to set: see man sleepd and edit /etc/default/sleepd
to change the options of sleepd. This didn't go far enough for me, though,
because I wanted my netbook to switch from suspend to full hibernation after
longer periods of inactivity.
On my netbook (an HP-Mini), the package pm-utils handles suspend and
hibernate perfectly with the commands pm-suspend, pm-hibernate, and
pm-suspend-hybrid. In the manpages under man pm-actions, I found my answer:
pm-suspend-hybrid has a default setting that wakes the computer up from sleep
and puts it into hibernation after 15 more minutes. To activate this
automatically, you just have to change the settings of sleepd in
/etc/default/sleepd with the option "--sleep-command pm-suspend-hybrid". Now
my netbook saves power optimally if I leave it alone for long by sleeping
after 10 minutes, or hibernating after 25 minutes.
I'm very happy I found a solution to my little preference. Now, I hope I can
solve out my Synaptic touchpad, and I'll have taken care of my most niggling
little problems since I chose freedom over convenience.
I haven't tried any yet, but here are some more tips about saving power in
the Trisquel wiki: http://trisquel.info/en/wiki/optimizing-battery-time
- [Trisquel-users] Saving Power With sleepd and pm-suspend... virx61
-