LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2007, 04:15 PM   #1
fultron
LQ Newbie
 
Registered: Apr 2005
Posts: 27

Rep: Reputation: 15
Ubuntu Power Options


I have ubuntu installed on my laptop now, and i am using it as my primary OS. The only misgiving i have is the facct that it eats through battery life. I was wondering if there were any way to change processor preferences and fan speed as to decrease overall battery usage. The only options on ubuntu 6.10 are when to sleep, etc.
 
Old 02-15-2007, 04:55 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
You may want to look into "cpufreqd". Goggle around a bit for it. If your CPU supports CPU frequency scaling, cpufreqd should be able to provide you with a customizable power saving scheme. I use it on my home workstation and get good temperature and power reductions when the box is idle. (2x Opteron 265)
 
Old 02-16-2007, 05:25 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
what's the output of:
Code:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Code:
cat /proc/cpuinfo
on my Ubuntu 6.10 laptop i use the "powersave" governor when on battery, and the "ondemand" one when on AC power...

Last edited by win32sux; 02-16-2007 at 05:27 AM.
 
Old 02-16-2007, 02:09 PM   #4
fultron
LQ Newbie
 
Registered: Apr 2005
Posts: 27

Original Poster
Rep: Reputation: 15
ondemand


and

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 36
model name : AMD Turion(tm) 64 Mobile Technology ML-34
stepping : 2
cpu MHz : 797.814
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips : 1597.97
 
Old 02-16-2007, 09:49 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by fultron
ondemand


and

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 36
model name : AMD Turion(tm) 64 Mobile Technology ML-34
stepping : 2
cpu MHz : 797.814
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips : 1597.97
well, "ondemand" scales the frequency up and down depending on the needs at the time... when you posted this you were set to 797.814 MHz so i would assume it was a point in time when you weren't really doing anything processor intensive... starting something like a huge virus scan or a big compile would be expected to boost your CPU's power as needed...

in any case, i find the "ondemand" behavior great for when running on AC, but when on battery i prefer "powersave", which keeps the CPU frecuency low no-matter what the cpu load is... the lack of "high" spikes saves battery power and keeps things running cooler...

to put your CPU into "powersave" mode do a:
Code:
sudo echo "powersave" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
to put it back into "ondemand" just change the approriate part of the command...

Last edited by win32sux; 02-16-2007 at 09:50 PM.
 
Old 02-17-2007, 12:32 PM   #6
fultron
LQ Newbie
 
Registered: Apr 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the reply, it seems to be helping.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the power options in Linux? Nishant Desai Linux - Desktop 1 11-02-2006 02:22 PM
Power Options sheikhatif Linux - General 2 08-04-2006 09:59 AM
Power options for SM 6.0 depam MEPIS 0 08-02-2006 08:32 PM
upgrade options for Ubuntu wminter Ubuntu 5 03-15-2006 10:47 AM
Toshiba Tecra 8100 Power Options lisa MS, RD General 1 03-18-2004 01:18 PM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration