On Tue, 2002-09-24 at 08:19, Vincent Bernat wrote: > OoO En cette nuit striée d'éclairs du mardi 24 septembre 2002, vers > 02:09, Bastien Nocera <[EMAIL PROTECTED]> disait: > > > Simple patch to /etc/power/pwrctl to change the CPU speed based on the > > amount of battery left (not many laptops supported for now, afaik). > > Where do you use the amount of battery left ?
minimum), medium and maximum). See your pwrctl file. > > + SPEEDMIN=`cat /proc/sys/cpu/0/speed-min` > > + SPEEDMAX=`cat /proc/sys/cpu/0/speed-max` > > + SPEED=`expr $SPEEDMIN + $SPEEDMAX / 2` > > + echo $SPEED /proc/sys/cpu/0/speed > > The iBook2 supports only 400 and 700 MHz speed. And mine supports 400 to 500 MHz ;) -- /Bastien Nocera http://hadess.net
signature.asc
Description: This is a digitally signed message part