Low Power Boot
From Sfvlug
A simple little snippet to add to rc.local (or your distribution's equivalent of post-SYSV start up script) that will help conserve power when booting up in battery mode.
# Haxx to lower power usage when booting up on battery. BATSTATE=`cat /proc/acpi/battery/BAT0/state | grep charging | awk -F: '{print $2}'` if [ "$BATSTATE" == "discharging" ]; then # If we get here, we're on battery. # Throttle the CPU echo 4 > /proc/acpi/processor/CPU/throttling # Go into laptop mode.. echo 1 > /proc/sys/vm/laptop_mode # Remove wireless (and any other unnecessary) driver for i in ipw2100; do rmmod ${i} done fi