<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mintcoffee</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mintcoffee"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Mintcoffee"/>
	<updated>2026-04-15T11:04:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Tp_smapi&amp;diff=36531</id>
		<title>Tp smapi</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Tp_smapi&amp;diff=36531"/>
		<updated>2008-02-21T18:09:52Z</updated>

		<summary type="html">&lt;p&gt;Mintcoffee: /* Model-specific status */ Z61p force_discharge works correctly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module exposes some features of the ThinkPad hardware/firmware via a &amp;lt;tt&amp;gt;sysfs&amp;lt;/tt&amp;gt; interface. Currently, the main implemented functionality is control of battery charging and extended battery status. It also includes an improved version of the [[HDAPS]] driver. The underlying hardware interfaces are [[SMAPI support for Linux|SMAPI]] and direct access to the embedded controller.&lt;br /&gt;
&lt;br /&gt;
For older ThinkPad models, see also [[tpctl]].&lt;br /&gt;
&lt;br /&gt;
{{WARN|This driver uses undocumented features and direct hardware access. It thus cannot be guaranteed to work and could conceivably damage your computer (though so far no incidents have been reported).}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Features===&lt;br /&gt;
*Battery charge/discharge control&lt;br /&gt;
*Battery status information&lt;br /&gt;
&lt;br /&gt;
===Project Homepage / Availability===&lt;br /&gt;
* Project page: http://tpctl.sourceforge.net/&lt;br /&gt;
* You need to [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579 download] only the &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; package.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
====Installation from source====&lt;br /&gt;
You will need the kernel headers and makefiles corresponding to your current kernel version. On {{Fedora}}, this means {{cmdroot|yum install kernel-devel-$(uname -r)}} .&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|tar xzvf tp_smapi-0.34.tgz}}&lt;br /&gt;
:{{cmdroot|cd tp_smapi-0.34}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, either compile and load the driver within the current working directory (for testing):&lt;br /&gt;
:{{cmdroot|make load}}&lt;br /&gt;
OR compile and install into the kernel's module path:&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you use the [[HDAPS]] driver, add &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; to also patch the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; for compatibility with &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; (this requires a kernel source tree matching the current kernel).&lt;br /&gt;
Again, either load the driver within the current working directory:&lt;br /&gt;
:{{cmdroot|1=make load HDAPS=1}}&lt;br /&gt;
OR install into the kernel's module path:&lt;br /&gt;
:{{cmdroot|1=make install HDAPS=1}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To prepare a stand-alone patch against the current kernel tree (including&lt;br /&gt;
a patch against &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and new &amp;lt;tt&amp;gt;Kconfig&amp;lt;/tt&amp;gt; entries):&lt;br /&gt;
:{{cmdroot|make patch}}&lt;br /&gt;
&lt;br /&gt;
To delete all autogenerated files:&lt;br /&gt;
:{{cmdroot|make clean}}&lt;br /&gt;
&lt;br /&gt;
The original kernel tree is never modified by any these commands. &lt;br /&gt;
The {{path|/lib/modules}} directory is modified only by {{cmdroot|make install}}.&lt;br /&gt;
&lt;br /&gt;
====Installation in Gentoo====&lt;br /&gt;
The {{Gentoo}} portage system carries a [http://packages.gentoo.org/packages/?category=app-laptop;name=tp_smapi tp_smapi package], which follows the latest version pretty closely. On a Gentoo system, you can install and load as follows.&lt;br /&gt;
&lt;br /&gt;
If you use the [[HDAPS]] driver, do this first:&lt;br /&gt;
&lt;br /&gt;
* Configure &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; as module in your kernel&lt;br /&gt;
* Add the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; use flag in {{path|/etc/make.conf}}&lt;br /&gt;
* {{cmdroot|rmmod hdaps}}&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
* {{cmdroot|emerge tp_smapi}} (or install tp_smapi with hdaps support manually, as above)&lt;br /&gt;
* {{cmdroot|echo &amp;quot;tp_smapi&amp;quot; &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6}}&lt;br /&gt;
* {{cmdroot|echo &amp;quot;hdaps&amp;quot; &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6}}&lt;br /&gt;
&lt;br /&gt;
Then reboot, or run:&lt;br /&gt;
* {{cmdroot|modprobe tp_smapi}}&lt;br /&gt;
* {{cmdroot|modprobe hdaps}}&lt;br /&gt;
&lt;br /&gt;
====Installation on Debian unstable (sid) or testing (lenny)====&lt;br /&gt;
Debian now contains the [http://packages.debian.org/tp-smapi packaged module source] for use with module-assistant.&lt;br /&gt;
&lt;br /&gt;
* {{cmdroot|apt-get install tp-smapi}}&lt;br /&gt;
* {{cmdroot|m-a -t a-i tp-smapi}}&lt;br /&gt;
&lt;br /&gt;
====Installation on Ubuntu/Debian====&lt;br /&gt;
Installation on Ubuntu or Debian is quite easy, but there are a few things to look after:&lt;br /&gt;
&lt;br /&gt;
To get your system ready for compiling code, install the build-essentials (as root, of course, as all of the following comands; Ubuntu users have to prepend 'sudo' to every line and enter their own password when prompted):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;apt-get install build-essential&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get tp_smapi to work, obtain the latest source as mentioned above and unpack it. If you want to use HDAPS, you need to install the kernel source matching te kernel you are running. To do so, issue this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;uname -r&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will give you the version of your current kernel. As Ubuntu adds '-generic' to the kernel-version, the following command works for Debian users only:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;apt-get install linux-source-`uname -r`&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Ubuntu users use the kernel-version they got by the command before, e.g. 'linux-source-2.6.20'&lt;br /&gt;
&lt;br /&gt;
Now change to the tp_smapi dir:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;cd tp_smapi-X.YY&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt; (X.YY being the version-number of [[tp_smapi]])&lt;br /&gt;
and make and install tp_smapi as instructed above.&lt;br /&gt;
&lt;br /&gt;
If you get an error that the kernel version isn't matching (or that you need to set KSRC/KBUILD), please check that there is a symlink from the modules dir to the kernel source:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;root@localhost:~#ls -l /lib/modules/2.6.20-16-generic&lt;br /&gt;
lrwxrwxrwx  1 root root     28 2007-02-02 08:39 source -&amp;gt; /usr/src/linux-source-2.6.20&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Create the link if the line above is not existent:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;root@localhost:~#ln -s /usr/src/linux-source-2.6.20 /lib/modules/2.6.20-16-generic/source&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the following will build and install the correct modules to their locations:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;make install HDAPS=1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To make sure your system loads the modules at boot time, do this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;echo &amp;quot;tp_smapi&amp;quot; &amp;gt;&amp;gt; /etc/modules&lt;br /&gt;
echo &amp;quot;hdaps&amp;quot; &amp;gt;&amp;gt; /etc/modules&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
and update your initramfs:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;update-initramfs -u&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get tp_smapi running now, just load the modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;modprobe -a tp_smapi hdaps&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This description was tested on Kubuntu 'Feisty Fawn' and should work on all Debian-based distros with minor tweaks.&lt;br /&gt;
&lt;br /&gt;
'''EDIT:''' Works on Kubuntu 7.10 (&amp;quot;Gutsy Gibbon&amp;quot;), too&lt;br /&gt;
&lt;br /&gt;
===Battery charge control features===&lt;br /&gt;
To set the thresholds for starting and stopping battery charging (in percent of current full charge capacity):&lt;br /&gt;
:{{cmdroot|echo 40 &amp;gt; /sys/devices/platform/smapi/BAT0/start_charge_thresh}}&lt;br /&gt;
:{{cmdroot|echo 70 &amp;gt; /sys/devices/platform/smapi/BAT0/stop_charge_thresh}}&lt;br /&gt;
:{{cmdroot|cat /sys/devices/platform/smapi/BAT0/*_charge_thresh}}&lt;br /&gt;
{{HINT|Battery charging thresholds can be used to keep Li-Ion ad Li-Polymer batteries partially charged, in order to [[Maintenance#Battery_treatment|increase their lifetime]].}}&lt;br /&gt;
To prevent charging for 17 minutes (regardless of thresholds):&lt;br /&gt;
:{{cmdroot|echo 17 &amp;gt; /sys/devices/platform/smapi/BAT0/inhibit_charge_minutes}}&lt;br /&gt;
{{HINT|Charge inhibiting can be used to reduce the power draw of the laptop, in order to use an under-spec power supply that can't handle the combined power draw of running and charging. It can also be used to control which battery is charged when [[How to use UltraBay batteries|using an Ultrabay battery]].}}&lt;br /&gt;
&lt;br /&gt;
To cancel charging preventation:&lt;br /&gt;
:{{cmdroot|echo 0 &amp;gt; /sys/devices/platform/smapi/BAT0/inhibit_charge_minutes}}&lt;br /&gt;
&lt;br /&gt;
To force battery discharging (even if connected to AC):&lt;br /&gt;
:{{cmdroot|echo 1 &amp;gt; /sys/devices/platform/smapi/BAT0/force_discharge}}&lt;br /&gt;
{{HINT|This can be used to choose which battery is discharged when [[How to use UltraBay batteries|using an UltraBay battery]].}}&lt;br /&gt;
&lt;br /&gt;
To cancel forced discharge:&lt;br /&gt;
:{{cmdroot|echo 0 &amp;gt; /sys/devices/platform/smapi/BAT0/force_discharge}}&lt;br /&gt;
&lt;br /&gt;
===Battery status features===&lt;br /&gt;
To view extended battery status such as charging state, voltage, current, capacity, cycle count and model information:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/installed&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/state       # idle/charging/discharging&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/cycle_count&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/current_now # instantaneous current&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/current_avg # last minute average&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/power_now   # instantaneous power&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/power_avg   # last minute average&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/last_full_capacity&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/remaining_percent&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/remaining_running_time&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/remaining_charging_time&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/remaining_capacity&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/design_capacity&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/voltage&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/design_voltage&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/manufacturer&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/model&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/barcoding&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/chemistry&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/serial&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/manufacture_date&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/first_use_date&lt;br /&gt;
# cat /sys/devices/platform/smapi/BAT0/temperature # in milli-Celsius&lt;br /&gt;
# cat /sys/devices/platform/smapi/ac_connected&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The raw status data is also available, including some fields not listed above (in case you can figure them out):&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /sys/devices/platform/smapi/BAT0/dump}}&lt;br /&gt;
&lt;br /&gt;
In all of the above, replace &amp;lt;tt&amp;gt;BAT0&amp;lt;/tt&amp;gt; with &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; to address the 2nd battery.&lt;br /&gt;
&lt;br /&gt;
Note that the battery status readout conflicts with the stock [[HDAPS|hdaps]] driver, so if you use &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; you will need to load &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; using {{cmdroot|1=make load HDAPS=1}} (see [[#Bundled hdaps driver|Bundled hdaps driver]] below).&lt;br /&gt;
&lt;br /&gt;
On [[ACPI]]-enabled systems, most of above information is also available through the files under {{path|/proc/acpi/battery}}. However, the ACPI interface does not include the instantaneous power and cycle count readouts, and does not work well when [[How to use UltraBay batteries|hotswapping UltraBay batteries]].&lt;br /&gt;
&lt;br /&gt;
====Scripts====&lt;br /&gt;
Some scripts can make it easier to grep the information you need from tp_smapi&lt;br /&gt;
* [[battery.rb]]&lt;br /&gt;
&lt;br /&gt;
===Other features===&lt;br /&gt;
&lt;br /&gt;
There is also [[sysfs]] attribute for making direct SMAPI requests to the SM BIOS firmware. Don't touch it unless you really know what you're doing. Example:&lt;br /&gt;
 # echo '211a 100 0 0' &amp;gt; /sys/devices/platform/smapi/smapi_request; cat /sys/devices/platform/smapi/smapi_request&lt;br /&gt;
 211a 34b b2 0 0 0 'OK'&lt;br /&gt;
The &amp;quot;4b&amp;quot; in the 2nd value, converted to decimal, is 75: the current charging stop threshold (stop_charge_thresh).&lt;br /&gt;
&lt;br /&gt;
===Bundled &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; driver===&lt;br /&gt;
&lt;br /&gt;
The tp_smapi package includes a modified version of the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; Linux kernel driver used by the [[HDAPS]] system. To use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; concurrently, you '''must''' use the modified version.&lt;br /&gt;
&lt;br /&gt;
To build the modified version, simply append the &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; parameter to the &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; command (see [[#Installation|Installation]] above):&lt;br /&gt;
:{{cmdroot|1=make load HDAPS=1}}&lt;br /&gt;
or&lt;br /&gt;
:{{cmdroot|1=make install HDAPS=1}}&lt;br /&gt;
&lt;br /&gt;
If you don't do that, you will not be able to load &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; (and its support module &amp;lt;tt&amp;gt;thinkpad_ec&amp;lt;/tt&amp;gt;) when &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; is loaded, and vice versa. You can use &amp;lt;tt&amp;gt;rmmod&amp;lt;/tt&amp;gt; to switch between these modules.&lt;br /&gt;
&lt;br /&gt;
Note that some of the battery status is also visible through ACPI ({{path|/proc/acpi/battery/*}}), independently of &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The modified &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; has several changes:&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; driver in mainline kernels conflicts with the extended battery status (they use the same IO ports). The modified &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; coordinates this access through the bundled &amp;lt;tt&amp;gt;thinkpad_ec&amp;lt;/tt&amp;gt; driver.&lt;br /&gt;
* The modified &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; driver fixes reliability and improves support for recent ThinkPad models (*60 and newer), since unlike the mainline driver, it correctly follows the Embedded Controller communication protocol.&lt;br /&gt;
* Several other improvements, such as the ability to control the polling rate.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
&lt;br /&gt;
If you get &amp;quot;&amp;lt;tt&amp;gt;thinkpad_ec: no ThinkPad embedded controller!&amp;lt;/tt&amp;gt;&amp;quot; when trying to load the module on a supported model listed below, you should [[BIOS_Upgrade|upgrade your BIOS]]. Some early BIOS (like 1.x on the X31) don't handle the embedded controller.&lt;br /&gt;
&lt;br /&gt;
===Model-specific status===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 92%&amp;quot;&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+&amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; feature support matrix&lt;br /&gt;
|-&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; | &lt;br /&gt;
=====A series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{A22p}} 2629-USG&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{A30}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; |&lt;br /&gt;
=====G series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{G41}}&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; |&lt;br /&gt;
=====R series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{R31}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} ||      ||  || || No SMAPI BIOS&lt;br /&gt;
|-&lt;br /&gt;
! {{R40}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R50}}&lt;br /&gt;
| {{Cunk}} || {{Cno}}  || {{Cunk}} || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R50e}} 1834-JAG&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R50p}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R51}} 18*&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 0 || 0.32 || 3.22 || || Machine types 1829, 1830, 1831 and 1836&lt;br /&gt;
|-&lt;br /&gt;
! {{R51}} 28*&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      || 1.29 || || Machine types 2883, 2887, 2888, 2889, 2894 and 2495&lt;br /&gt;
|-&lt;br /&gt;
! {{R52}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 0 || 0.33 || 1.29 || 1.06 ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R60}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} ||{{Cyes}}  || {{Cno|text=}} 1 || 0.33 || || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{R61}}&lt;br /&gt;
| {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cyes}} ||{{Cyes}}  || {{Cyes|text=}} 1 || 0.35-test1 || 7KETA7WW 2.07 || 7KHT24WW 1.08 || Machine type 8918 ||&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
=====T series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{T20}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} ||      ||  || || Has SMAPI BIOS but no function is supported. EC LPC3 protocol fails.&lt;br /&gt;
|-&lt;br /&gt;
! {{T22}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} ||      ||  || || Has SMAPI BIOS but no function is supported. EC LPC3 protocol fails.&lt;br /&gt;
|-&lt;br /&gt;
! {{T23}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T30}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T40}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T40p}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T41}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T41p}} 2373-AM9&lt;br /&gt;
| {{Cno}} || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 1 || 0.32 || 3.20 || v3.04 ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T42}}&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T42p}} 2373-KXU&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 1 || 0.32 || 3.21 || || Stop charge threshold works in Windows, but dmesg says &amp;quot;__get_real_thresh: cannot get stop_thresh of bat=0: Function is not supported by SMAPI BIOS&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
! {{T42p}} 2373-KUU&lt;br /&gt;
| {{Cyes}} || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T43}} 2686&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 0 || 0.33 || 1.27 || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T43p}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cyes|text=}} 0 ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T60}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 7 || 0.32 ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T60}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 1 || 0.34 ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T60p}} 8743-CTO&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 1 || 0.32 ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{T61}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 1 || 0.32 ||  || || [http://ubuntuforums.org/showthread.php?p=3146719 ref]&lt;br /&gt;
|-&lt;br /&gt;
! {{T61p}} 6457-7XG&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 1 || 0.32 ||  || || [http://ubuntuforums.org/showthread.php?p=3146719 ref]&lt;br /&gt;
|-&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
=====X series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{X20}} 2662-31G&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X24}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X30}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}} || {{Cyes}} || {{Cunk}} || {{Cunk}} || 0.34  || 1.09 || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X31}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X32}}&lt;br /&gt;
| {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cno}}  || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X40}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 3 || 0.32 || 2.08 || 1.62 || &lt;br /&gt;
|-&lt;br /&gt;
! {{X41}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 3 || 0.32 ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X41_Tablet}}&lt;br /&gt;
| {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cyes}}   || {{Cno|text=}} (see ref) || 0.32  || || [http://sourceforge.net/mailarchive/message.php?msg_name=4757BD30.8080808%40ugcs.caltech.edu ref] || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X60}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 6 ||      || 2.07 || 1.10 || 2.6.20 issue (see discussion)&lt;br /&gt;
|-&lt;br /&gt;
! {{X60s}} 1704-5UG&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cno|text=}} 3 || 0.34 || 7BETD2WW 2.13 || 7BHT40WW 1.13 ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X61s}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 6 / 3 || 0.32 ||  || || [http://www.slackwiki.org/ThinkPad_X61s ref] says 3 but conflicting report received&lt;br /&gt;
|-&lt;br /&gt;
! {{X60_Tablet}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 3 || 0.34  || 7JET25WW (1.10 )  || 7JHT13WW 1.04 || [http://luke.no-ip.org/x60tablet/ ref] [http://rad.bioinfo.ulaval.ca/hardware/x60tablet ref]&lt;br /&gt;
|-&lt;br /&gt;
! {{X61_Tablet}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 6 || 0.32  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X61}} 7675-4KU&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cno|text=}} 6 || 0.34 || 7NET30WW (1.11 ) || 7MHT24WW-1.02 ||&lt;br /&gt;
|-&lt;br /&gt;
! {{X61}} 7675-CTO&lt;br /&gt;
| {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cyes}} || {{Cno|text=}} 6 || 0.35-test1 ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
! colspan=12 style=&amp;quot;text-align:center;background:#efefef;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
=====Z series=====&lt;br /&gt;
|-&lt;br /&gt;
{{tp_smapi/model_status_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Z60m}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{Z60t}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cunk}} || {{Cyes}} || {{Cunk}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{Z61m}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes|text=}} 0 || 0.32 ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
! {{Z61t}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} ||      ||  || || [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/45014 ref]&lt;br /&gt;
|-&lt;br /&gt;
! {{Z61p}}&lt;br /&gt;
| {{Cyes}} || {{Cyes}} || {{Cunk}} || {{Cyes}} || {{Cyes}} || {{Cyes}} || {{Cunk}} ||      ||  || ||&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SMAPI capabilities may depend on the BIOS version as well, so upgrading to the latest version of the BIOS might provide more SMAPI functions (especially true for long-lived BIOS with lots of releases, like the TP-1R).&lt;br /&gt;
&lt;br /&gt;
Please update the above and report your experience on the [[Talk:tp_smapi|discussion]] page. If the module loads but gives a &amp;quot;&amp;lt;tt&amp;gt;not supported&amp;lt;/tt&amp;gt;&amp;quot; or &amp;quot;&amp;lt;tt&amp;gt;not implementeded&amp;lt;/tt&amp;gt;&amp;quot; error when you try to use some specific file in {{path|/sys/devices/platform/smapi/}}, please report the &amp;lt;tt&amp;gt;dmesg&amp;lt;/tt&amp;gt; output and whether the corresponding functionality is available under Windows - maybe your ThinkPad just can't do that. &lt;br /&gt;
&lt;br /&gt;
While at it, you may also want to add your laptop to the [[list of DMI IDs]].&lt;br /&gt;
&lt;br /&gt;
=====HDAPS axis orientation=====&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; The HDAPS axis orientation is set using the &amp;lt;tt&amp;gt;invert&amp;lt;/tt&amp;gt; module parameter (at load time) or sysfs attribute (at runtime). The tp_smapi's hdaps driver supports all 8 possible sensor orientations (inversion and swapping). You can use [[HDAPS#Visualisation_of_ThinkPad_orientation|hdaps visualisation]] to check if the settings is correct.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;invert&amp;lt;/tt&amp;gt; is an integer between 0 and 7, whose meaning is as follows. Let &amp;lt;tt&amp;gt;X&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Y&amp;lt;/tt&amp;gt; denote the hardware readouts. Let &amp;lt;tt&amp;gt;R&amp;lt;/tt&amp;gt; denote the laptop's roll (tilt left/right), and let &amp;lt;tt&amp;gt;P&amp;lt;/tt&amp;gt; denote the laptop's pitch (tilt forward/backward). The possible values are as follows:&lt;br /&gt;
    invert=0:   R= X  P= Y   (same as mainline)&lt;br /&gt;
    invert=1:   R=-X  P=-Y   (same as mainline)&lt;br /&gt;
    invert=2:   R=-X  P= Y   (new)&lt;br /&gt;
    invert=3:   R= X  P=-Y   (new)&lt;br /&gt;
    invert=4:   R= Y  P= X   (new)&lt;br /&gt;
    invert=5:   R=-Y  P=-X   (new)&lt;br /&gt;
    invert=6:   R=-Y  P= X   (new)&lt;br /&gt;
    invert=7:   R= Y  P=-X   (new)&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]] [[Category:Patches]]&lt;br /&gt;
&lt;br /&gt;
===Tools using this driver===&lt;br /&gt;
&lt;br /&gt;
The driver's interface can be accessed directly through the files under {{path|/sys/devices/platform/smapi}}, or via the following tools:&lt;br /&gt;
* [[KThinkBat]] - display battery status on the KDE &amp;lt;tt&amp;gt;kicker&amp;lt;/tt&amp;gt; panel.&lt;br /&gt;
* [[gkrellm-ThinkBat]] - battery status plugin for Gkrellm2&lt;br /&gt;
* {{CodeRef|thinkpad-smapi.sh}} - script to display various SMAPI information using tp_smapi module.&lt;/div&gt;</summary>
		<author><name>Mintcoffee</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34880</id>
		<title>Talk:How to reduce power consumption</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34880"/>
		<updated>2007-11-25T08:23:07Z</updated>

		<summary type="html">&lt;p&gt;Mintcoffee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How about linking to this page from the main page?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:08, 17 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Best battery discharge times ==&lt;br /&gt;
&lt;br /&gt;
With your best power saving, what kind of battery power times are you guys experiencing?  The best that I can do with my t43p with the standard (6cell) battery is 2h, and with the ultrabay battery is 1 hour.  All of the power saving 'tricks' - hard drive spindown, even adjusting the brightness of my display, has relatively modest effect (~20% max), although CPU throttling definitely reduces power consumption.&lt;br /&gt;
&lt;br /&gt;
In terms of discharge rate, I really can't get below 19,520 mW/h with the hard disk off, wifi on, cpu down to ~700 MHz, and display on minimal brightness with ATI driver power save enabled.  In my &amp;quot;normal usage&amp;quot; environment (WiFi on, word processing / non cpu-intensive programming, etc.) I average 21,000 mW/h.&lt;br /&gt;
&lt;br /&gt;
Of note, I have the UXGA display, which might be a huge power guzzler.  I have friends with an X40 that claim 5 hours from the 9 cell...&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 16:56, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
ThinkPad T43, SXGA+, [[Pentium M undervolting and underclocking|undervolted]], [[ACPI fan control script|fan disabled]], minimum brightness, disk off, WiFi off, [[How to make use of Graphics Chips Power Management features|GPU power saving]]: 13 to 14W, i.e., slightly over 3 hours with a new 6-cell battery. See [[How to reduce power consumption]].&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 22:46, 10 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
BTW, this machine has 1.5GB of RAM, which probably accounts for a large fraction of a Watt. Also, the DVD drive is plugged in.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 08:39, 16 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Down to 12.4W after ejecting the DVD drive.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 07:35, 18 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting... that would imply ~5W for the bigger screen?  That seems high.  Could you tell me your basal rate at 700 Mhz by chance?  - everything else should match my system (using your fan control v.28 (-thanks!), minimum brightness, disk off, WiFi off, GPU power saving enabled with ATI driver.)&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 18:16, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The 13-14W figure is with automatic cpufreq scaling and low load, so it's effectively at 800MHz (minimum speed for this 1.86GHz processor). Are you undervolting the CPU too?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:36, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
To my understanding it would seem very unlikely that the higher resolution/bigger display uses a lot more power than lower resolution/smaller ones - except the case that they would have four light tubes instead of one. I'm pretty sure that X series displays have Ã³nly one.&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 01:20, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
for T42 with 14&amp;quot; XGA, ATI 7500 at 80/100MHz, 600MHz@0.7V, hdd off, wifi off, linux:&lt;br /&gt;
  1) min. brightness - 7,6W&lt;br /&gt;
  2) brightness is 4 of 7 - 8,6W&lt;br /&gt;
  3) max. brightness - 10,1W&lt;br /&gt;
&lt;br /&gt;
2200bg in battery mode consumes ~0,4W. and I bet the iron can go lower runnig windows&lt;br /&gt;
with native drivers. the only thing I really miss is powerplay support for 7500.&lt;br /&gt;
&lt;br /&gt;
--[[User:Bzzt|Bzzt]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You mean they nearly ''doubled'' the minimal power draw when moving to the T43's Sonoma chipset and Dothan CPU? So you actually get 5-6 hours from a 6-cell battery?! Spooky.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 01:42, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
well, I'm not sure about 6 hours, but 5h doesn't look hard to achieve. 7,6W is a real bottom here. I couldn't get lower. The regular rate I feel comfort at is rather 10-11W. But even that, 5h is possible with a new 6cell battery.&lt;br /&gt;
&lt;br /&gt;
PS. this is why I returned 2668-4DU back and bought 2373-FWG. Sonoma really sucks, IMHO. I hope Intel has learnt the lesson and the next lines won't so hungry.&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
Ok - the 15.1&amp;quot; 1600x1200 must be a real power monster, although I have not applied the undervolting patch.  I'll give it a whirl when 2.6.15.4 is released.&lt;br /&gt;
&lt;br /&gt;
Update - tried the undervolting patch with some nice results - my lap is noticably cooler, and the fan spends more time off.  With only a few process running (no kdm and kde -&amp;gt; only very basic window manager) and a black background text sceen, [[Pentium M undervolting and underclocking|undervolted]] down to 700 mV @798 MHz, [[ACPI fan control script|fan disabled]], minimum brightness, hard disk off (standby), WiFi off (ipw not loaded), [[How to make use of Graphics Chips Power Management features|GPU power saving]], DVD unplugged (2nd battery in bay), I can *still* only get down to 17.5 W/h.  D'oh!&lt;br /&gt;
&lt;br /&gt;
Still, the screen is worth it if only for the sheer number of women who note, &amp;quot;my, what a nice screen you have&amp;quot; (just one this afternoon. :)  It is a strange phenomenon.&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 21:45, 10 February 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Haha, good one, [[User:gsmenden|gsmenden]] :)&lt;br /&gt;
&lt;br /&gt;
On my T43 here, I have around 13300mW, when:&lt;br /&gt;
&lt;br /&gt;
* cstate=C4, 800Mhz, undervolted (0.716V, rather than 0.988V)&lt;br /&gt;
* wifi=off, bt=off, fan=off, brightness=minimum&lt;br /&gt;
* X300 put into &amp;quot;low&amp;quot; mode (it's a 15&amp;quot; SXGA+ screen)&lt;br /&gt;
* pretty &amp;quot;dark&amp;quot; setup (I have basically all-black desktop)&lt;br /&gt;
&lt;br /&gt;
Full charge is around 77000mWh. With, say, 14000mW one should last 5.5 hours on a 9-cell battery.&lt;br /&gt;
&lt;br /&gt;
I can't really say that I see any other obvious venues to pursue to reduce power consumption.&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
igorr, how do you disable wifi? did you try to eject dvd drive?&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Disabling wifi can be accomplished by [[cmdroot|echo 1 &amp;gt; /sys/class/net/eth1/device/rf_kill]].&lt;br /&gt;
&lt;br /&gt;
Ejecting the dvd drive? Why would that affect power consumption?&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
yeah, rf_kill does right. if I eject dvd drive or simple type echo eject &amp;gt;/proc/acpi/ibm/bay, I save about 0.4W.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[User:gsmenden|gsmenden]], I have a Thinkpad Z61p with a WUXGA display and I get at best 18W of usage with my ATI card in power saving mode and minimum brightness. I'm running the 2.6.24.rc3 kernel with the zen patchset in Arch Linux. I really think our IPS screens really suck up power like crazy.&lt;br /&gt;
&lt;br /&gt;
--[[User:mintcoffee|mintcoffee]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gradual battery discharge ==&lt;br /&gt;
&lt;br /&gt;
Has anyone else noticed, that the battery keeps discharging (although very slowly) when &lt;br /&gt;
ac? My battery charges to 95%, and then drops to 90% over the course of few hours. &lt;br /&gt;
Then charges again and so on. I'm not at all too happy about it. &lt;br /&gt;
Also- what is the relation of last_full to design_capacity? I have one battery, which charges &lt;br /&gt;
to 48410 mWh, while the design capacity is 51830 mWh, the other charges to 51960 mWh with the same max. &lt;br /&gt;
Although it used to charge to around 54000. Both are new, the first one has around 50 cycles, the second around 10. &lt;br /&gt;
&lt;br /&gt;
--[[User:Rasto|Rasto]] 14:28, 17 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing with /sys/devices/*/power/state ==&lt;br /&gt;
Anyone played with /sys/devices/*/power/state yet? eg.&lt;br /&gt;
 echo -n 2 &amp;gt; /sys/devices/*/power/state&lt;br /&gt;
It looks like it can save a lot of power ~ 0.5 - 1.5 Watt on my T43, but it is also dangerous (and API will probably change in the future).&lt;br /&gt;
Switching off the wrong device can crash the system, for example when turning the SATA off.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:46, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I've toyed with a few devices' state and didn't notice a difference. Can you identify which devices make a big difference for you?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:15, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I havn't seen a big difference for any device, each device does probably only make a difference of 50-100mW which I'm unable to measure correctly.&lt;br /&gt;
Also just echo a 2 to /sys/devices/*/power/state doesn't seem to be enough.&lt;br /&gt;
It look like it needs a 2 for all the state files for the device.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 18:26, 27 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
It would be very valuable if you managed to identify a few especially interesting devices. By taking groups of several devices, or looking at average power draw over a long time, you can discern even the small differences.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 02:53, 28 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Ok here is what I've done:&amp;lt;br&amp;gt;&lt;br /&gt;
For every device (except SATA and USB) that reports &amp;quot;Power Management&amp;quot; on lcpci -vv:&lt;br /&gt;
# enable power saving&lt;br /&gt;
# wait one minute and while waiting record present rate in /proc/acpi/battery/BAT0/state every 10 seconds.&lt;br /&gt;
# next device&lt;br /&gt;
&lt;br /&gt;
Display- and harddisk standby had been disabled. And this is the result:&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
! Device !! power avg !! power diff&lt;br /&gt;
|-&lt;br /&gt;
| Normal || 13187 || +/-0&lt;br /&gt;
|- &lt;br /&gt;
|VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 13159 || -28&lt;br /&gt;
|-&lt;br /&gt;
|Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 12995 || -264&lt;br /&gt;
|-&lt;br /&gt;
|Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11) || 12977 || -18&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) || 12969 || -8&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) || 12966 || -3&lt;br /&gt;
|-&lt;br /&gt;
|Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) || 12640 || -326&lt;br /&gt;
|-&lt;br /&gt;
|Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) || 12615 || -25&lt;br /&gt;
|-&lt;br /&gt;
|pnp0 || 12611 || -4&lt;br /&gt;
|-&lt;br /&gt;
|platform || 12554 || -57&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So its definitely the graphic and the sound card.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:17, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting! Can we automagically power off audio when it's not in use?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:13, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I'm not familar with the ALSA API, so I don't know any. Right now I binded that to Mute on/off.&lt;br /&gt;
I did some research and the first thing I found is that it is possible to get the state, so polling would be possible (but I don't want polling). Will see if there is some kind of interrupt.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 22:50, 30 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does it preserve all configuration (mixer volume, switches etc.) when you toggle power?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:13, 31 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes it does - no problems found so far.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 9:46, 02 August 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Actually, ALSA can go itself in low power mode, if you have CONFIG_SND_AC97_POWER_SAVE=y and all sound inputs (micro, line-in, ...) are muted.&lt;br /&gt;
&lt;br /&gt;
--[[User:Benjamin Pineau|Benjamin Pineau]] 11:27, 25 June 2007 (UTC)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mintcoffee</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34879</id>
		<title>Talk:How to reduce power consumption</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34879"/>
		<updated>2007-11-25T08:22:33Z</updated>

		<summary type="html">&lt;p&gt;Mintcoffee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How about linking to this page from the main page?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:08, 17 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Best battery discharge times ==&lt;br /&gt;
&lt;br /&gt;
With your best power saving, what kind of battery power times are you guys experiencing?  The best that I can do with my t43p with the standard (6cell) battery is 2h, and with the ultrabay battery is 1 hour.  All of the power saving 'tricks' - hard drive spindown, even adjusting the brightness of my display, has relatively modest effect (~20% max), although CPU throttling definitely reduces power consumption.&lt;br /&gt;
&lt;br /&gt;
In terms of discharge rate, I really can't get below 19,520 mW/h with the hard disk off, wifi on, cpu down to ~700 MHz, and display on minimal brightness with ATI driver power save enabled.  In my &amp;quot;normal usage&amp;quot; environment (WiFi on, word processing / non cpu-intensive programming, etc.) I average 21,000 mW/h.&lt;br /&gt;
&lt;br /&gt;
Of note, I have the UXGA display, which might be a huge power guzzler.  I have friends with an X40 that claim 5 hours from the 9 cell...&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 16:56, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
ThinkPad T43, SXGA+, [[Pentium M undervolting and underclocking|undervolted]], [[ACPI fan control script|fan disabled]], minimum brightness, disk off, WiFi off, [[How to make use of Graphics Chips Power Management features|GPU power saving]]: 13 to 14W, i.e., slightly over 3 hours with a new 6-cell battery. See [[How to reduce power consumption]].&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 22:46, 10 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
BTW, this machine has 1.5GB of RAM, which probably accounts for a large fraction of a Watt. Also, the DVD drive is plugged in.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 08:39, 16 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Down to 12.4W after ejecting the DVD drive.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 07:35, 18 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting... that would imply ~5W for the bigger screen?  That seems high.  Could you tell me your basal rate at 700 Mhz by chance?  - everything else should match my system (using your fan control v.28 (-thanks!), minimum brightness, disk off, WiFi off, GPU power saving enabled with ATI driver.)&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 18:16, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The 13-14W figure is with automatic cpufreq scaling and low load, so it's effectively at 800MHz (minimum speed for this 1.86GHz processor). Are you undervolting the CPU too?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:36, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
To my understanding it would seem very unlikely that the higher resolution/bigger display uses a lot more power than lower resolution/smaller ones - except the case that they would have four light tubes instead of one. I'm pretty sure that X series displays have Ã³nly one.&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 01:20, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
for T42 with 14&amp;quot; XGA, ATI 7500 at 80/100MHz, 600MHz@0.7V, hdd off, wifi off, linux:&lt;br /&gt;
  1) min. brightness - 7,6W&lt;br /&gt;
  2) brightness is 4 of 7 - 8,6W&lt;br /&gt;
  3) max. brightness - 10,1W&lt;br /&gt;
&lt;br /&gt;
2200bg in battery mode consumes ~0,4W. and I bet the iron can go lower runnig windows&lt;br /&gt;
with native drivers. the only thing I really miss is powerplay support for 7500.&lt;br /&gt;
&lt;br /&gt;
--[[User:Bzzt|Bzzt]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You mean they nearly ''doubled'' the minimal power draw when moving to the T43's Sonoma chipset and Dothan CPU? So you actually get 5-6 hours from a 6-cell battery?! Spooky.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 01:42, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
well, I'm not sure about 6 hours, but 5h doesn't look hard to achieve. 7,6W is a real bottom here. I couldn't get lower. The regular rate I feel comfort at is rather 10-11W. But even that, 5h is possible with a new 6cell battery.&lt;br /&gt;
&lt;br /&gt;
PS. this is why I returned 2668-4DU back and bought 2373-FWG. Sonoma really sucks, IMHO. I hope Intel has learnt the lesson and the next lines won't so hungry.&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
Ok - the 15.1&amp;quot; 1600x1200 must be a real power monster, although I have not applied the undervolting patch.  I'll give it a whirl when 2.6.15.4 is released.&lt;br /&gt;
&lt;br /&gt;
Update - tried the undervolting patch with some nice results - my lap is noticably cooler, and the fan spends more time off.  With only a few process running (no kdm and kde -&amp;gt; only very basic window manager) and a black background text sceen, [[Pentium M undervolting and underclocking|undervolted]] down to 700 mV @798 MHz, [[ACPI fan control script|fan disabled]], minimum brightness, hard disk off (standby), WiFi off (ipw not loaded), [[How to make use of Graphics Chips Power Management features|GPU power saving]], DVD unplugged (2nd battery in bay), I can *still* only get down to 17.5 W/h.  D'oh!&lt;br /&gt;
&lt;br /&gt;
Still, the screen is worth it if only for the sheer number of women who note, &amp;quot;my, what a nice screen you have&amp;quot; (just one this afternoon. :)  It is a strange phenomenon.&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 21:45, 10 February 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Haha, good one, [[User:gsmenden|gsmenden]] :)&lt;br /&gt;
&lt;br /&gt;
On my T43 here, I have around 13300mW, when:&lt;br /&gt;
&lt;br /&gt;
* cstate=C4, 800Mhz, undervolted (0.716V, rather than 0.988V)&lt;br /&gt;
* wifi=off, bt=off, fan=off, brightness=minimum&lt;br /&gt;
* X300 put into &amp;quot;low&amp;quot; mode (it's a 15&amp;quot; SXGA+ screen)&lt;br /&gt;
* pretty &amp;quot;dark&amp;quot; setup (I have basically all-black desktop)&lt;br /&gt;
&lt;br /&gt;
Full charge is around 77000mWh. With, say, 14000mW one should last 5.5 hours on a 9-cell battery.&lt;br /&gt;
&lt;br /&gt;
I can't really say that I see any other obvious venues to pursue to reduce power consumption.&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
igorr, how do you disable wifi? did you try to eject dvd drive?&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Disabling wifi can be accomplished by [[cmdroot|echo 1 &amp;gt; /sys/class/net/eth1/device/rf_kill]].&lt;br /&gt;
&lt;br /&gt;
Ejecting the dvd drive? Why would that affect power consumption?&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
yeah, rf_kill does right. if I eject dvd drive or simple type echo eject &amp;gt;/proc/acpi/ibm/bay, I save about 0.4W.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[User:gsmenden|gsmenden]], I have a Thinkpad Z61p with a WUXGA display and I get at best 18W of usage with my ATI card in power saving mode and minimum brightness. I'm running the 2.6.24.rc3 kernel with the zen patchset in Arch Linux. I really our IPS screens really suck up power like crazy.&lt;br /&gt;
&lt;br /&gt;
--[[User:mintcoffee|mintcoffee]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gradual battery discharge ==&lt;br /&gt;
&lt;br /&gt;
Has anyone else noticed, that the battery keeps discharging (although very slowly) when &lt;br /&gt;
ac? My battery charges to 95%, and then drops to 90% over the course of few hours. &lt;br /&gt;
Then charges again and so on. I'm not at all too happy about it. &lt;br /&gt;
Also- what is the relation of last_full to design_capacity? I have one battery, which charges &lt;br /&gt;
to 48410 mWh, while the design capacity is 51830 mWh, the other charges to 51960 mWh with the same max. &lt;br /&gt;
Although it used to charge to around 54000. Both are new, the first one has around 50 cycles, the second around 10. &lt;br /&gt;
&lt;br /&gt;
--[[User:Rasto|Rasto]] 14:28, 17 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing with /sys/devices/*/power/state ==&lt;br /&gt;
Anyone played with /sys/devices/*/power/state yet? eg.&lt;br /&gt;
 echo -n 2 &amp;gt; /sys/devices/*/power/state&lt;br /&gt;
It looks like it can save a lot of power ~ 0.5 - 1.5 Watt on my T43, but it is also dangerous (and API will probably change in the future).&lt;br /&gt;
Switching off the wrong device can crash the system, for example when turning the SATA off.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:46, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I've toyed with a few devices' state and didn't notice a difference. Can you identify which devices make a big difference for you?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:15, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I havn't seen a big difference for any device, each device does probably only make a difference of 50-100mW which I'm unable to measure correctly.&lt;br /&gt;
Also just echo a 2 to /sys/devices/*/power/state doesn't seem to be enough.&lt;br /&gt;
It look like it needs a 2 for all the state files for the device.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 18:26, 27 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
It would be very valuable if you managed to identify a few especially interesting devices. By taking groups of several devices, or looking at average power draw over a long time, you can discern even the small differences.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 02:53, 28 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Ok here is what I've done:&amp;lt;br&amp;gt;&lt;br /&gt;
For every device (except SATA and USB) that reports &amp;quot;Power Management&amp;quot; on lcpci -vv:&lt;br /&gt;
# enable power saving&lt;br /&gt;
# wait one minute and while waiting record present rate in /proc/acpi/battery/BAT0/state every 10 seconds.&lt;br /&gt;
# next device&lt;br /&gt;
&lt;br /&gt;
Display- and harddisk standby had been disabled. And this is the result:&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
! Device !! power avg !! power diff&lt;br /&gt;
|-&lt;br /&gt;
| Normal || 13187 || +/-0&lt;br /&gt;
|- &lt;br /&gt;
|VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 13159 || -28&lt;br /&gt;
|-&lt;br /&gt;
|Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 12995 || -264&lt;br /&gt;
|-&lt;br /&gt;
|Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11) || 12977 || -18&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) || 12969 || -8&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) || 12966 || -3&lt;br /&gt;
|-&lt;br /&gt;
|Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) || 12640 || -326&lt;br /&gt;
|-&lt;br /&gt;
|Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) || 12615 || -25&lt;br /&gt;
|-&lt;br /&gt;
|pnp0 || 12611 || -4&lt;br /&gt;
|-&lt;br /&gt;
|platform || 12554 || -57&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So its definitely the graphic and the sound card.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:17, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting! Can we automagically power off audio when it's not in use?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:13, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I'm not familar with the ALSA API, so I don't know any. Right now I binded that to Mute on/off.&lt;br /&gt;
I did some research and the first thing I found is that it is possible to get the state, so polling would be possible (but I don't want polling). Will see if there is some kind of interrupt.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 22:50, 30 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does it preserve all configuration (mixer volume, switches etc.) when you toggle power?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:13, 31 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes it does - no problems found so far.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 9:46, 02 August 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Actually, ALSA can go itself in low power mode, if you have CONFIG_SND_AC97_POWER_SAVE=y and all sound inputs (micro, line-in, ...) are muted.&lt;br /&gt;
&lt;br /&gt;
--[[User:Benjamin Pineau|Benjamin Pineau]] 11:27, 25 June 2007 (UTC)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mintcoffee</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34878</id>
		<title>Talk:How to reduce power consumption</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_reduce_power_consumption&amp;diff=34878"/>
		<updated>2007-11-25T08:21:34Z</updated>

		<summary type="html">&lt;p&gt;Mintcoffee: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How about linking to this page from the main page?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:08, 17 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Best battery discharge times ==&lt;br /&gt;
&lt;br /&gt;
With your best power saving, what kind of battery power times are you guys experiencing?  The best that I can do with my t43p with the standard (6cell) battery is 2h, and with the ultrabay battery is 1 hour.  All of the power saving 'tricks' - hard drive spindown, even adjusting the brightness of my display, has relatively modest effect (~20% max), although CPU throttling definitely reduces power consumption.&lt;br /&gt;
&lt;br /&gt;
In terms of discharge rate, I really can't get below 19,520 mW/h with the hard disk off, wifi on, cpu down to ~700 MHz, and display on minimal brightness with ATI driver power save enabled.  In my &amp;quot;normal usage&amp;quot; environment (WiFi on, word processing / non cpu-intensive programming, etc.) I average 21,000 mW/h.&lt;br /&gt;
&lt;br /&gt;
Of note, I have the UXGA display, which might be a huge power guzzler.  I have friends with an X40 that claim 5 hours from the 9 cell...&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 16:56, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
ThinkPad T43, SXGA+, [[Pentium M undervolting and underclocking|undervolted]], [[ACPI fan control script|fan disabled]], minimum brightness, disk off, WiFi off, [[How to make use of Graphics Chips Power Management features|GPU power saving]]: 13 to 14W, i.e., slightly over 3 hours with a new 6-cell battery. See [[How to reduce power consumption]].&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 22:46, 10 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
BTW, this machine has 1.5GB of RAM, which probably accounts for a large fraction of a Watt. Also, the DVD drive is plugged in.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 08:39, 16 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Down to 12.4W after ejecting the DVD drive.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 07:35, 18 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting... that would imply ~5W for the bigger screen?  That seems high.  Could you tell me your basal rate at 700 Mhz by chance?  - everything else should match my system (using your fan control v.28 (-thanks!), minimum brightness, disk off, WiFi off, GPU power saving enabled with ATI driver.)&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 18:16, 10 Feb 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The 13-14W figure is with automatic cpufreq scaling and low load, so it's effectively at 800MHz (minimum speed for this 1.86GHz processor). Are you undervolting the CPU too?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:36, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
To my understanding it would seem very unlikely that the higher resolution/bigger display uses a lot more power than lower resolution/smaller ones - except the case that they would have four light tubes instead of one. I'm pretty sure that X series displays have Ã³nly one.&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 01:20, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
for T42 with 14&amp;quot; XGA, ATI 7500 at 80/100MHz, 600MHz@0.7V, hdd off, wifi off, linux:&lt;br /&gt;
  1) min. brightness - 7,6W&lt;br /&gt;
  2) brightness is 4 of 7 - 8,6W&lt;br /&gt;
  3) max. brightness - 10,1W&lt;br /&gt;
&lt;br /&gt;
2200bg in battery mode consumes ~0,4W. and I bet the iron can go lower runnig windows&lt;br /&gt;
with native drivers. the only thing I really miss is powerplay support for 7500.&lt;br /&gt;
&lt;br /&gt;
--[[User:Bzzt|Bzzt]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You mean they nearly ''doubled'' the minimal power draw when moving to the T43's Sonoma chipset and Dothan CPU? So you actually get 5-6 hours from a 6-cell battery?! Spooky.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 01:42, 11 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
well, I'm not sure about 6 hours, but 5h doesn't look hard to achieve. 7,6W is a real bottom here. I couldn't get lower. The regular rate I feel comfort at is rather 10-11W. But even that, 5h is possible with a new 6cell battery.&lt;br /&gt;
&lt;br /&gt;
PS. this is why I returned 2668-4DU back and bought 2373-FWG. Sonoma really sucks, IMHO. I hope Intel has learnt the lesson and the next lines won't so hungry.&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
Ok - the 15.1&amp;quot; 1600x1200 must be a real power monster, although I have not applied the undervolting patch.  I'll give it a whirl when 2.6.15.4 is released.&lt;br /&gt;
&lt;br /&gt;
Update - tried the undervolting patch with some nice results - my lap is noticably cooler, and the fan spends more time off.  With only a few process running (no kdm and kde -&amp;gt; only very basic window manager) and a black background text sceen, [[Pentium M undervolting and underclocking|undervolted]] down to 700 mV @798 MHz, [[ACPI fan control script|fan disabled]], minimum brightness, hard disk off (standby), WiFi off (ipw not loaded), [[How to make use of Graphics Chips Power Management features|GPU power saving]], DVD unplugged (2nd battery in bay), I can *still* only get down to 17.5 W/h.  D'oh!&lt;br /&gt;
&lt;br /&gt;
Still, the screen is worth it if only for the sheer number of women who note, &amp;quot;my, what a nice screen you have&amp;quot; (just one this afternoon. :)  It is a strange phenomenon.&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 21:45, 10 February 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Haha, good one, [[User:gsmenden|gsmenden]] :)&lt;br /&gt;
&lt;br /&gt;
On my T43 here, I have around 13300mW, when:&lt;br /&gt;
&lt;br /&gt;
* cstate=C4, 800Mhz, undervolted (0.716V, rather than 0.988V)&lt;br /&gt;
* wifi=off, bt=off, fan=off, brightness=minimum&lt;br /&gt;
* X300 put into &amp;quot;low&amp;quot; mode (it's a 15&amp;quot; SXGA+ screen)&lt;br /&gt;
* pretty &amp;quot;dark&amp;quot; setup (I have basically all-black desktop)&lt;br /&gt;
&lt;br /&gt;
Full charge is around 77000mWh. With, say, 14000mW one should last 5.5 hours on a 9-cell battery.&lt;br /&gt;
&lt;br /&gt;
I can't really say that I see any other obvious venues to pursue to reduce power consumption.&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
igorr, how do you disable wifi? did you try to eject dvd drive?&lt;br /&gt;
&lt;br /&gt;
-bzzz&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Disabling wifi can be accomplished by [[cmdroot|echo 1 &amp;gt; /sys/class/net/eth1/device/rf_kill]].&lt;br /&gt;
&lt;br /&gt;
Ejecting the dvd drive? Why would that affect power consumption?&lt;br /&gt;
&lt;br /&gt;
--[[User:igorr|igorr]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
yeah, rf_kill does right. if I eject dvd drive or simple type echo eject &amp;gt;/proc/acpi/ibm/bay, I save about 0.4W.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 [[User:gsmenden|gsmenden]], I have a Thinkpad Z61p with a WUXGA display and I get at best 18W of usage with my ATI card in power saving mode and minimum brightness. I really our IPS screens really suck up power like crazy.&lt;br /&gt;
&lt;br /&gt;
--[[User:mintcoffee|mintcoffee]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gradual battery discharge ==&lt;br /&gt;
&lt;br /&gt;
Has anyone else noticed, that the battery keeps discharging (although very slowly) when &lt;br /&gt;
ac? My battery charges to 95%, and then drops to 90% over the course of few hours. &lt;br /&gt;
Then charges again and so on. I'm not at all too happy about it. &lt;br /&gt;
Also- what is the relation of last_full to design_capacity? I have one battery, which charges &lt;br /&gt;
to 48410 mWh, while the design capacity is 51830 mWh, the other charges to 51960 mWh with the same max. &lt;br /&gt;
Although it used to charge to around 54000. Both are new, the first one has around 50 cycles, the second around 10. &lt;br /&gt;
&lt;br /&gt;
--[[User:Rasto|Rasto]] 14:28, 17 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Playing with /sys/devices/*/power/state ==&lt;br /&gt;
Anyone played with /sys/devices/*/power/state yet? eg.&lt;br /&gt;
 echo -n 2 &amp;gt; /sys/devices/*/power/state&lt;br /&gt;
It looks like it can save a lot of power ~ 0.5 - 1.5 Watt on my T43, but it is also dangerous (and API will probably change in the future).&lt;br /&gt;
Switching off the wrong device can crash the system, for example when turning the SATA off.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:46, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I've toyed with a few devices' state and didn't notice a difference. Can you identify which devices make a big difference for you?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:15, 25 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I havn't seen a big difference for any device, each device does probably only make a difference of 50-100mW which I'm unable to measure correctly.&lt;br /&gt;
Also just echo a 2 to /sys/devices/*/power/state doesn't seem to be enough.&lt;br /&gt;
It look like it needs a 2 for all the state files for the device.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 18:26, 27 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
It would be very valuable if you managed to identify a few especially interesting devices. By taking groups of several devices, or looking at average power draw over a long time, you can discern even the small differences.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 02:53, 28 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Ok here is what I've done:&amp;lt;br&amp;gt;&lt;br /&gt;
For every device (except SATA and USB) that reports &amp;quot;Power Management&amp;quot; on lcpci -vv:&lt;br /&gt;
# enable power saving&lt;br /&gt;
# wait one minute and while waiting record present rate in /proc/acpi/battery/BAT0/state every 10 seconds.&lt;br /&gt;
# next device&lt;br /&gt;
&lt;br /&gt;
Display- and harddisk standby had been disabled. And this is the result:&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
! Device !! power avg !! power diff&lt;br /&gt;
|-&lt;br /&gt;
| Normal || 13187 || +/-0&lt;br /&gt;
|- &lt;br /&gt;
|VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 13159 || -28&lt;br /&gt;
|-&lt;br /&gt;
|Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) || 12995 || -264&lt;br /&gt;
|-&lt;br /&gt;
|Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11) || 12977 || -18&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) || 12969 || -8&lt;br /&gt;
|-&lt;br /&gt;
|PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) || 12966 || -3&lt;br /&gt;
|-&lt;br /&gt;
|Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) || 12640 || -326&lt;br /&gt;
|-&lt;br /&gt;
|Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) || 12615 || -25&lt;br /&gt;
|-&lt;br /&gt;
|pnp0 || 12611 || -4&lt;br /&gt;
|-&lt;br /&gt;
|platform || 12554 || -57&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So its definitely the graphic and the sound card.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 10:17, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Interesting! Can we automagically power off audio when it's not in use?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:13, 29 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I'm not familar with the ALSA API, so I don't know any. Right now I binded that to Mute on/off.&lt;br /&gt;
I did some research and the first thing I found is that it is possible to get the state, so polling would be possible (but I don't want polling). Will see if there is some kind of interrupt.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 22:50, 30 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does it preserve all configuration (mixer volume, switches etc.) when you toggle power?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:13, 31 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes it does - no problems found so far.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 9:46, 02 August 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Actually, ALSA can go itself in low power mode, if you have CONFIG_SND_AC97_POWER_SAVE=y and all sound inputs (micro, line-in, ...) are muted.&lt;br /&gt;
&lt;br /&gt;
--[[User:Benjamin Pineau|Benjamin Pineau]] 11:27, 25 June 2007 (UTC)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mintcoffee</name></author>
		
	</entry>
</feed>