[ltp] Anyone using Ubuntu 8.10 on X60s / X61s? (battery life)

Shot (Piotr Szotkowski) linux-thinkpad@linux-thinkpad.org
Mon, 3 Nov 2008 06:53:55 +0100


--2B/JsCI69OhZNC5r
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Theodore Tso:

> In addition, compiz wastes a huge amount of power so make sure you
> go to the menu item System->Preferences->Appearance Preference, then
> clock on the Visual Effects tab, and select "None: Provides a simple
> desktop environment without any effects", to disable compiz.

I just uncomment =E2=80=98Option "NoDRI"=E2=80=99 in xorg.conf=E2=80=99s De=
vice section and
re-login; this makes Compiz not start until I comment that line out
again. (I have my Compiz customised, and switching the Visual Effects
back would reset the configuration.)

> Here's my personal low-power.sh script.

Here=E2=80=99s mine. It=E2=80=99s a hodgepodge of stuff (mostly from ThinkW=
iki), and
some of the lines throw errors, but it does seem to lower PowerTop=E2=80=99s
stats significantly:

shot@devielle:~$ cat bin/power.sh=20
#!/bin/sh
rmmod uhci_hcd ehci_hcd usb_storage libusual usbcore iwl3945 iwlwifi_mac802=
11 yenta_socket rsrc_nonstatic pcmcia pcmcia_core irtty_sir sir_dev nsc_irc=
c irda rfcomm l2cap bluetooth
echo 5 > /proc/sys/vm/laptop_mode
echo 0 > /proc/sys/kernel/nmi_watchdog
#echo Y > /sys/module/snd_ac97_codec/parameters/power_save
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
#for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 1 > $i; done
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
echo min_power > /sys/class/scsi_host/host1/link_power_management_policy
xrandr --output VGA --off
echo crt_disable > /proc/acpi/ibm/video
echo dvi_disable > /proc/acpi/ibm/video
ethtool -s eth0 wol d

-- Shot
--=20
Kipling was someone I read a lot of before
I discovered Heinlein.      -- Rebecca Ore

--2B/JsCI69OhZNC5r
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFJDpHzi/mCfdEo8UoRAti9AKCTT3WS1Lf8Cnx7Umoycv164CvVWACfVRfr
HdjGtAt7ct0I4+gdticX0jE=
=ni8V
-----END PGP SIGNATURE-----

--2B/JsCI69OhZNC5r--