1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Extending Ubuntu's Battery Life

Michael Larabel

Published on 29 February 2008
Written by Michael Larabel
Page 1 of 2 - 3 Comments

Last week when traveling to Europe for FOSDEM and other business meetings, I had picked up a new 9-cell battery for a Lenovo ThinkPad T60. While an additional three battery cells will noticeably extend your battery life, you can also extend your battery life by taking a few simple steps to optimize your Linux desktop that will also reduce your power consumption and heat output. In this article are a few simple steps to take in order to extend your notebook's battery life on Ubuntu.

One of the easiest ways to start optimizing your notebook's battery life is by using the utilities already available to you within Ubuntu. From using gnome-power-preferences, one can adjust their power settings not only when running on the battery but also when using AC power. Inside GNOME Power Management Preferences you can adjust how many minutes of inactivity before the computer and/or display is put to sleep, what to do when the laptop lid is closed (Nothing, Blank Screen, Suspend, Hibernate), what to do when the battery power is critically low, dimming the display brightness (on a percentage basis), and whether to dim the display when the system is idle. These same settings are available to battery and AC power environments. Dimming the notebook's LCD panel when running on battery power can significantly improve your battery life, but of course that it can also strain your eyes. When dimming the display on a Lenovo T60 by 30%, it was still bright enough not to cause any major eyestrain and had extended the battery life by several minutes. The backlight power can also be controlled using xbacklight.

One of the great power-saving advancements of recent times was Intel's introduction of PowerTOP. PowerTOP is an open-source project sponsored by Intel that analyzes your running system and will make recommendations on changes that can be made to conserve power consumption. With many of the recommendations, PowerTOP is able to automatically make these optimizations as well. This utility also identifies the software components that are causing the most wake-ups, which in turn consume excess power.

Intel's PowerTOP doesn't ship with Ubuntu by default, but it's available through the Ubuntu package repository (sudo apt-get install powertop). PowerTOP v1.8 is the latest packaged version for Ubuntu 7.10, but by compiling from source, you can build the latest version of PowerTOP (v1.9 is the latest version at the time of publishing). To build PowerTOP from source on Ubuntu you will need the standard build utilities and libraries along with libncurses5-dev and libncursesw5-dev. PowerTOP needs to be run as root for proper results and the initial analyzing process only takes a few seconds.

PowerTOP reports the average residency in each of the power-saving states for Intel processors (C0, C1, C2, and C3) and P-states for the processor frequency. The wakeups-from-idle per second are disabled and the ACPI power usage is displayed, if supported by your laptop's ACPI implementation. The top causes for the system waking up are displayed and is sorted by percentage -- not only end-user programs are displayed in this listing but also drivers and other software components. For then taking action to reduce the power consumption, suggestions are shown and then usually with the hit of a single key that action can be done automatically. Some of the common power-saving suggestions by PowerTOP are disabling HAL from polling the CD-ROM, enabling USB auto-suspend, increasing the VM dirty write-back time, and turning off the WiFi radio if it's not being used or entering a wireless power-saving mode. Intel's PowerTOP utility is extremely easy to use and often can deliver noticeable results.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Use Ubuntu MATE 14.10 Make it an official distro.
  3. Users/Developers Threatening Fork Of Debian GNU/Linux
  4. Debian Is Back To Discussing Init Systems, Freedom of Choice
  5. AMD Radeon VDPAU Video Performance With Gallium3D
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: