Table of Contents

Increasing battery life under Linux

Author(s)

Bill Giannikos (Home Page)

Editing This Page

If you would like to edit this page please first view our Editing Guidelines.

Introduction

This guide with provide you with tips to increase your battery life under Linux when running on a laptop computer.

Tips

Use kernel with dynamic ticks

Since kernel 2.6.21, Linux includes a feature called dynamic ticks. Without getting too technical, the kernel reduces the number of ticks initiated when the system is idle, slightly reducing the cpu usage at this time and therefore extending battery life. Fedora 7 has this feature on by default.

Ensure ACPI is enabled

Not so much a problem anymore as manufacturers are more actively checking that their ACPI implementations work under Linux but you should check that ACPI support is enabled. Without it you will get terrible power management and greatly reduced battery life. You can check if ACPI is enabled and running properly by typing dmesg in the console. If it is not working a kernel or BIOS update may fix the issue, if not then look up your laptop on these pages for more details.

Use CPU power saving

Most modern processors can dynamically reduce and increase their clock speeds. A utility is needed to do this such as cpufreqd or powernowd. My personal recommendation is powernowd, it is a simple program but works very well. These two utilities are included with most Linux distributions.

Blank screen when idle

A simple tip. Set the power settings to blank the screen when idle for a few minutes. The LCD display is one of the main consumers of power and so turning it off when not needed increases battery life greatly.

Use PowerTOP

Intel have developed a utility called PowerTOP. It's aim is to see which applications on your system are using processing power and thus consuming extra battery. PowerTOP is starting to be included with many Linux distributions and you can also get it from the PowerTOP website.





Discussion

ylluigl, Tuesday 19 of May, 2009 [15:04:05]

my amd turion64 mk-38 works well with powernowd installed. it control the cpufreq and although slow down application sometimes, but still it prevent overheating. kpowersave and cpudyn doesn't work well for me as the cpufreq always jump to max.

Eismaus, Saturday 24 of January, 2009 [11:32:34]

Hi.
Under windows, i would deaktivate Buildin Bluetooth and W-Lan to if i didn't use it.
In Ubuntu you habe a way to deaktivate W-Lan, but i didn't found the same for Bluetooh.
How did i do this?

Eismaus

Bill Giannikos, Thursday 12 of February, 2009 [03:46:09]

Depends on your laptop, what are you using?

Ljubo, Friday 01 of February, 2008 [01:23:04]

web developer

also,to si ATI card power states…
aticonfig –lsp

do this when your laptop is on batteries
aticonfig –set-powerstate=1

(of course, if your computer doesn't do that automaticaly)

mohamed, Monday 21 of January, 2008 [06:49:00]

hello

hello I have DELL D630 its new and I forget my
bois password so
what I can do my email : lawson.moh16@hotmail.com

Enter your comment
GWFHG
 
increasing+battery+life+under+linux.txt · Last modified: Saturday 19 of September, 2009 [07:51:35] by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2010 Linwik.com and other authors