Saturday, October 4, 2008

Extend Laptop Battery With Ubuntu Using PowerTOP


PowerTOP is a Linux tool to analyze the power consumption of your laptop. It collects and presents a number of information including CPU states, wakeups per second, power usage (in watts) and top causes of wakeups.

Perhaps the most important piece of information is the top causes for wakeups. It lists the most active processes that require CPU and therefore, consumes power. Here is a sample screen shot from my laptop:


It shows the wireless LAN adapter, Bluetooth and Firefox as part of the top 5 causes of wakeups. The bottom-part of the screen includes further explanation, suggestion and the exact command to carry out the recommendation e.g. how to turn off Bluetooth.

Follow these steps to install and run PowerTOP:

(1) Update packages.

sudo apt-get update

(2) Install PowerTOP.

sudo apt-get install powertop

(3) Run PowerTOP using priviledged access.

sudo powertop

Tip: run PowerTOP when you're using battery. If you plan to follow the suggestions e.g. disabling processes, please make sure you know how to re-enable them for future use.

You can find more information here.

0 comments: