Quick power saving script.

view story

http://chakra-project.org – I'm testing the following script, in /etc/pm/power.d. Can you help me to test? This baby was adapted from here: http://crunchbanglinux.org/forums/topic/11954#!/bin/sh # A script to enable laptop power saving features for #! & Debian GNU+linux. # http://crunchbanglinux.org/forums/topic/11954 # Bus list for runtime pm. Probably shouldn't touch this. buslist="pci i2c" case "$1" in true) # Enable some power saving settings while on battery # Less VM disk activity. Suggested by powertop echo 1500 > /proc/sys/vm/dirty_writeback_centisecs (HowTos)