Okay, well, I've found http://packages.debian.org/sid/all/l...tools/filelist
. Perhaps it might be in
You're looking for code along the lines of
case "$2" in
case "$4" in
echo "conservative" >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo -n $minspeed >$setspeed
(particularly the 'echo "conservative"' part).
Another possibility is /etc/laptop-mode/conf.d/cpufreq.conf - that may have lines similar to:
which can be tweaked to select an appropriate governor when the laptop thinks it's running on battery.