Powerdown is a script to take the hassle out of configuring to maximize battery-life.
Use your favourite AUR-helper to installAUR, f.e.
# packer -S powerdown
Add the following options to your kernel boot-line (f.e. in grub's menu.lst):
After a reboot the script can now be run in a terminal:
# powerdown &
To make it run on startup add the following to /etc/rc.local:
The script is located at ... Should you want to disable certain tweaks, you can easily comment them out by prepending '#'
I do get more spinups and clicks from my HDD. Where is this setting stored in powerdown?
Set the following tweak to a higher value:
Packages that are no longer necessary after installation
- powertop, powertop2: these packages have no updates for at least 3-4 years. if you think kernel has no changes on power management for 3 or 4 years, go ahead and continue to use them. Replacement: ppower is included in new powerdown. it shows laptop power usage in mWh. the value is usually between 10000 to 25000.
- laptop-mode-tools: this is a huge framework on power management. It has dozens of configs you need to setup, which normally no one knows how to control them. I think it is a "troubleware"; to use it properly, you have to google more. most of time, you dont even know what works or not. Replacement: powerdown shows what does not work right in the screen. it contains all the rules optimized that just work.
- tuxonice, uswsusp, pm-utils: too hassle to set things up. again, they complicate suspend and resume. the default kernel already support suspends and resume pretty well. Replacement: ps2mem uses default kernel for ram suspend and resume. you just run "sudo ps2mem"; no framework, no setup.
- ppoweroff solves a bug in kernel(even in 3,4 rc that ehci_hcd messes up shutdown when it is set to powersave mode). This is a wrapper for 'poweroff'. You just call it to shut down your arch box.