Go Back   NGOHQ.com / Software / Operating Systems

Reply
 
Old January 10th, 2009, 11:32 PM   1 links from elsewhere to this Post. Click to view. #1
Site Staff
 

Posts: 11,447
CPU: Intel Core i7-965
GPU: ATI Radeon HD 5770
M/B: Intel DX58SO
RAM: Mixed
PSU: X-Spice 630w
Default How to boost laptop's battery life time on Ubuntu?

I'm using Ubuntu 8.10 on Lenovo 3000 C100 and the battery life time is really poor (2 hours). I removed all the eye candy features and its still poor. Any ideas how to sort it out?
Regeneration is online now   Reply With Quote
Old January 11th, 2009, 12:23 AM   #2
Professional Member

Posts: 426
CPU: 1
GPU: 1
M/B: 1
RAM: 1
PSU: 1
Default

What powersaving features are you using??? (I dont use ubuntu anymore, it just got too bloated)

Some tools
laptop-mode (screen, hd, p4 throlling and other powersaving stuff)
http://samwel.tk/laptop_mode/

cpufreqd (control cpu frequency with simple rules - temperature, ac status etc..)
http://cpufreqd.sourceforge.net/

Recompile a kernel with timer frequency low (100MHz) and Tickless System, you can find this at
Processor type and features -> Timer Frequency, Tickless System
(Enable audio powersaving at Devices --> Sound card support --> alsa (advanced linux sound architecture) (or build the driver outside the kernel - see alsa official site) --> your codec --> powersaving)

Note: If you do consider compilling a kernel, build a kernel from scratch: (Highly recommended)
$ cd /patch/to/kernel/source
$ make allnoconfig
$ make menuconfig or make xconfig
$ make install && make modules_install && make install
-- Fix grub or lilo

Disable your internet interfaces (wifi, ethernet) (there are also modified wireless drivers that reduce the wifi antena power consumption but thats too risky)
# ifconfig <interface> down
or
# rmmod <interface module>

rmmod other modules you dont use. If your notebook has a nvidia graphic card and you dont use eye candy (e.g. compiz) force low performance always. (Sorry dont remember any article that explains that but a little googling around you should be able to find it)

Enable your sound card powersaving features (at kernel and a configuration file located here: /etc/conf.d/alsa - I dont know where ubuntu devs left that file)

Last edited by xiaomhome; January 11th, 2009 at 12:28 AM..
xiaomhome is offline   Reply With Quote
Old January 11th, 2009, 02:44 AM   #3
Site Staff
 

Posts: 11,447
CPU: Intel Core i7-965
GPU: ATI Radeon HD 5770
M/B: Intel DX58SO
RAM: Mixed
PSU: X-Spice 630w
Default

Thanks for the help, but the battery lifetime is still poor (2h). I was forced to install Windows XP where it seems a lot better (4h). I think this laptop uses some kind of unique PM driver to control its PM features.
Regeneration is online now   Reply With Quote
Old January 11th, 2009, 02:51 AM   #4
Professional Member

Posts: 426
CPU: 1
GPU: 1
M/B: 1
RAM: 1
PSU: 1
Default

Look at this:
http://www.lesswatts.org/
xiaomhome is offline   Reply With Quote
Old January 11th, 2009, 03:53 AM   #5
Site Staff
 

Posts: 11,447
CPU: Intel Core i7-965
GPU: ATI Radeon HD 5770
M/B: Intel DX58SO
RAM: Mixed
PSU: X-Spice 630w
Default

* Enable the power aware SMP scheduler
- Only one core on the laptop.
* Use SATA link power management
- No SATA ports here.
* Enable WiFi power management
- Already enabled.
* Check for unused Bluetooth
- Already disabled.
* Use gigabit ethernet speeds only when needed
- Ethernet don't support gigabit and already disabled anyway.
Regeneration is online now   Reply With Quote
Old January 11th, 2009, 07:37 AM   #6
Stuck in "April 1st"

Posts: 3,199
CPU: Intel E8400
GPU: Geforce 8800GT
M/B: Asus Rampage Formula
RAM: G.Skill 2x2GB PI Black
PSU: PCP&C Silencer 750w
Default

Try running Intel PowerTOP and see what's leeching all that battery life. Is your CPU successfully throttling clock speed and voltages at idle?
__________________
IQ, when aggregated, follows Ohm's law.

Unixlord is offline   Reply With Quote
Old January 12th, 2009, 12:27 AM   #7
Site Staff
 

Posts: 11,447
CPU: Intel Core i7-965
GPU: ATI Radeon HD 5770
M/B: Intel DX58SO
RAM: Mixed
PSU: X-Spice 630w
Default

Its a sucky Celeron, no clock throttling.
Regeneration is online now   Reply With Quote
Old April 7th, 2009, 03:27 AM   #8
Site Staff
 

Posts: 11,447
CPU: Intel Core i7-965
GPU: ATI Radeon HD 5770
M/B: Intel DX58SO
RAM: Mixed
PSU: X-Spice 630w
Default

I solved the issue by using p4_clockmod and powernowd modules.

1. sudo apt-get remove powernowd
2. sudo modprobe p4_clockmod
3. sudo nano /etc/modules and adding p4_clockmod
4. sudo apt-get install powernowd
5. verify with cat /proc/cpuinfo
Regeneration is online now   Reply With Quote
Reply

Bookmarks


LinkBacks (?)
LinkBack to this Thread: http://www.ngohq.com/operating-systems/15295-how-to-boost-laptops-battery-life-time-on-ubuntu.html
Posted By For Type Date
forum.thinkpads.com • View topic - Increase battery life in Ubuntu This thread Refback November 13th, 2009 03:50 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On







eXTReMe Tracker

Copyright © NGOHQ.com - All rights reserved
Reproduction in whole or in part in any form or medium
without written permission of the site's owners is prohibited.
Powered by vBadvanced and vBulletin from Jelsoft
Copyright © 2000-2007 Jelsoft Enterprises Limited
Search Engine Friendly URLs by vBSEO 3.3.2

Contact Us - Archive - NGOHQ.com - NGOHQ.org - NGOHQ.net - Disclaimer - Top