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 Benchmarking Platform
Phoromatic Test Orchestration

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.

Latest Linux News
  1. Pinos Is For Linux Video What PulseAudio Is For Audio
  2. Crossing 200,000 Benchmark Results Posted On LinuxBenchmarking.com
  3. New Mesa Vec4 Backend For Intel, Supports Their NIR Goals
  4. "PulseVideo" Coming To Complement PulseAudio?
  5. Premium Users Now Can Experience Our New Site
  6. XFS Will Get DAX Support In The Linux 4.2 Kernel
  7. X.Org Server Lands More Mode-Setting/GLAMOR Improvements, But No Sign Of 1.18
  8. Linux Mint 17.2 Officially Released With Cinnamon/MATE Flavors
  9. Fedora For MIPS Is Now Out In Testing, Supports The Creator CI20
  10. KDE Plasma 5.3.2 Fixes Shutdown Scripts, Few Dozen Other Bugs
Latest Articles & Reviews
  1. How KDE VDG Is Trying To Make Open-Source Software Beautiful
  2. Attempting To Try Out BCache On The Linux 4.1 Kernel
  3. CompuLab's Fitlet Is A Very Tiny, Fanless, Linux PC With AMD A10 Micro
  4. AMD A10-7870K Godavari: RadeonSI Gallium3D vs. Catalyst Linux Drivers
Most Viewed News This Week
  1. Kubuntu 15.10 Could Be The End Of The Road
  2. Linus Is Looking Forward To Merging KDBUS, But Not Convinced By Performance
  3. NVIDIA Starts Supplying Open-Source Hardware Reference Headers
  4. KDBUS Won't Be Pushed Until The Linux 4.3 Kernel
  5. Linux 4.2 Kernel Gets Port To New Processor Architecture
  6. The Staging Pull For Linux 4.2: "Big, Really Big"
  7. The State & Complications Of Porting The Unity Editor To Linux
  8. SteamOS "Brewmaster" Is Valve's New Debian 8.1 Based Version