Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I've recently installed Ubuntu 11.10 on a new Lenovo X220 laptop with a 9-cells battery. I have a trans-atlantic flight coming up, and I would like to use my laptop during it. Lenovo claims that this battery should last for a really long time.

How can I configure my laptop to consume minimal power? I didn't see any detailed power management panel in the system settings, so how to I tweak it?

Also, can someone report a tried-and-tested configuration? Performance is not an issue, since I'm going to use it for coding or reading during the flight, not for playing games of watching movies. Playing audio would be nice, but not a must.

share|improve this question

marked as duplicate by Mitch, Eric Carvalho, Radu Rădeanu, Basharat Sialvi, AgentCool Jun 24 '13 at 9:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

7 Answers 7

Besides Powertop (available from Software Center), and turning all options to GOOD when on battery, you need to set several kernel parameters:

i915.i915_enable_rc6=1
i915.i915_enable_fbc=1
i915.lvds_downclock=1
pcie_aspm=force

Add to /etc/default/grub, Line starting with GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm i915.i915_enable_rc6=1 i915.lvds_downclock=1"

call sudo update-grub after editing...

This boosted my battery life from 4 hours to over 10 hours (without networking)

Check out this post http://www.williambrownstreet.net/blog/?p=387

share|improve this answer
    
Actually, some powertop GOOD recommendations aren't that good after all and may in fact consume more power. See: kernel.ubuntu.com/~cking/power-benchmarking/… –  Colin Ian King Aug 7 '12 at 22:59
add comment

The kernel team also has a Power Management tweaks page:

share|improve this answer
1  
That link is VERY useful! –  Little Bobby Tables Jan 18 '12 at 7:01
add comment

You can install Jupiter.

Jupiter is a light weight power and hardware control applet for Linux. It is designed to improve battery life of a portable Linux computer by integrating with the operating system and changing parameters of the computer based on battery or powered connection.

It was an applet developed to control the power features of the Asus EEE line of PCs, including their SuperHybrid Engine system, but it has evolved far from that into a power management tool that is useful in any laptop.

share|improve this answer
    
did you try Jupiter ? I would like to have some feedback before installing –  user31014 Oct 27 '11 at 23:24
    
Yes. It was nice (I didn't install it when I upgraded to 11.10 so I'm not using it now), but it didn't make any difference in real life for me. My laptop battery runs for about 4 hours out of the box and can stay suspended for a lot of time (more than a full day likely), and this is more than what I really need. –  Javier Rivera Oct 28 '11 at 16:59
    
Anyway, install it without fear, remember: ppa-purge is your friend, it will uninstall it and remove the ppa without a trace. –  Javier Rivera Oct 28 '11 at 17:00
add comment

Here are things that I've tried that seem to work:

I may also set up a "battery" compiz profile that has no bells and whistles and switch to that when I want to minimize compiz's power use.

share|improve this answer
add comment

I have found that logging into Unity 2d instead of 3d helps tremendously:

Also from my personal experience, if you use Chrome/Chromium it consumes a bunch of power when compared to Firefox, so when I am in a battery situation I switch to Firefox. Also if you can get away with it, turning off Javascript in Firefox will also dramatically cut its power usage, though it's difficult to use most modern websites without Javascript.

share|improve this answer
    
I'm actually on Openbox/Gnome because I didn't like Unity 3d. I don't use Chrome(ium), but JavaScript is interesting. Maybe a Firefox profile with JS off that I can switch to when I do need the internet but want to conserve power. –  Amanda Jul 12 '12 at 13:33
add comment

Besides Jupiter try also Powertop (available in Software Center) - it's a console application which does two great things: 1) monitors power consumption 2) allows you to easily apply some little power tweaks.

Also check some info on the power regressions in recent versions of kernel, most notably issues with PCIe ASPM.

It's a good idea to use non-accelerated desktop environment, like Unity2D or Gnome Classic without compositing (no effects).

share|improve this answer
add comment

I also have a Thinkpad (T410) and discovered there's no silver bullet way.

Some of it is in your control. That is just being aware of all the systems that consume power and making sure that they're not being ravenous/performance maximizing. Here are a few steps I took. They made my laptop stop overheating to the point of powering down but there is still more to be done. Definitely make sure your BIOS is up to date (lenovo makes boot cds for it) is the biggest step of that list.

Having said that, there's also things taking power that are not apparently changeable. As you see in powertop's "Tunables" tab, there are a whole bunch of "Bad"s (power consuming processes and hardware) that it's not obvious if the end user can tweak them to become better.

share|improve this answer
    
right, I don't need a silver bullet. I'm looking for more options on the being aware end. I'll take a look at your answer at askubuntu.com/a/157312/28944 –  Amanda Jul 12 '12 at 13:31
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.