Difference between revisions of "Extending battery life on X200"

From ThinkWiki
Jump to: navigation, search
Line 3: Line 3:
 
I own the beautiful Lenovo X200 and run Ubuntu Intrepid on the machine. Its battery life is significantly lower than that under Windows and many users have reported that it runs hotter than under Windows.  
 
I own the beautiful Lenovo X200 and run Ubuntu Intrepid on the machine. Its battery life is significantly lower than that under Windows and many users have reported that it runs hotter than under Windows.  
  
With the changes below and a 9 cell battery I get over 9 hours on an idle system with backlight on but at the lowest level. Before the changes I was getting a bit over 5 hours. The system also runs a lot cooler.
+
With the changes below and a 9 cell battery I get over 9 hours on an idle system with backlight on but at the lowest level and wireless radios off. Before the changes I was only getting 5 hours.  
  
 +
The system also runs a lot cooler and I do not need tpfan (sw fan control for the ThinkPad available [[Fan_control_scripts|here]]), the built-in hw controller falls back to the lower speeds shortly after a CPU load subsides.
  
 
=== Details ===
 
=== Details ===
Line 13: Line 14:
 
**I used Powertop from [[www.lesswatts.org]] for this task.
 
**I used Powertop from [[www.lesswatts.org]] for this task.
 
* '''Lowering the voltage supplied to the CPU.'''  
 
* '''Lowering the voltage supplied to the CPU.'''  
** Lowering the voltage supplied to the CPU has other positive side effects beside battery life: my system runs a lot cooler and ... I do not need tpfan (sw fan control for the ThinkPad), the built-in hw controller falls back to lower speed shortly after a CPU load subsides.
+
** Lowering the voltage supplied to the CPU has other positive side effects beside battery life: my system runs a lot cooler and ...  
 
** Lowering CPU voltage does ''not'' affect performance since the clock runs at the same speeds (22700, 22600, 16000, or 800Mhz for the X200).
 
** Lowering CPU voltage does ''not'' affect performance since the clock runs at the same speeds (22700, 22600, 16000, or 800Mhz for the X200).
 
**I used phc patches and phctools available at [[www.linux-phc.org]] for this task.
 
**I used phc patches and phctools available at [[www.linux-phc.org]] for this task.

Revision as of 18:04, 3 March 2009

Overview

I own the beautiful Lenovo X200 and run Ubuntu Intrepid on the machine. Its battery life is significantly lower than that under Windows and many users have reported that it runs hotter than under Windows.

With the changes below and a 9 cell battery I get over 9 hours on an idle system with backlight on but at the lowest level and wireless radios off. Before the changes I was only getting 5 hours.

The system also runs a lot cooler and I do not need tpfan (sw fan control for the ThinkPad available here), the built-in hw controller falls back to the lower speeds shortly after a CPU load subsides.

Details

The changes fall into 3 categories:

  • Removing packages that create unnecessarily frequent wake up interrupts.
    • These interrupts wake up the CPU, preventing it from staying in its most energy efficient state.
    • I used Powertop from www.lesswatts.org for this task.
  • Lowering the voltage supplied to the CPU.
    • Lowering the voltage supplied to the CPU has other positive side effects beside battery life: my system runs a lot cooler and ...
    • Lowering CPU voltage does not affect performance since the clock runs at the same speeds (22700, 22600, 16000, or 800Mhz for the X200).
    • I used phc patches and phctools available at www.linux-phc.org for this task.
  • Turning off radios you do not need
    • The X200 has a button to turn off all radios, best way to reduce power supply when not using wireless

Finding and removing high interrupt packages

Installing Powertop

Turning off DRI

Turning off Gnome Power Manager

Turning off SCIM

Reducing CPU voltage

Installing phc module patches

Intalling phctools

Experimenting with lower voltages

Making the voltages stick

Turning off the wireless radios