LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-04-2005, 01:39 AM   #1
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
battery life


Hi,

This is really puzzling.

(Gateway 7330GZ laptop.. p4 3.06ghz - i know this isnt a battery-life-concious machine..but stil...)
I use windows and my battery lasts aprrox 2 hours. I've recently put fedora core4 on it.. and my battery gets totally used up in about 45-50 minutes... and im not actually doing anything with it.

wtf is goin on here!? I didnt think that the OS could make that much of a difference - because i wasnt aware of any battery saving things going on when i has windows installed.

Anyone got any ideas on this?

thanks for any replies!
 
Old 09-04-2005, 01:48 AM   #2
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Rep: Reputation: 15
That's odd, I actually found the opposite :P With my note book under windows I could only get about 15 min out of the battery. Under linux, that went up to 40 min. Go figure.

Ampex189

Last edited by ampex189; 09-04-2005 at 03:51 PM.
 
Old 09-04-2005, 04:44 AM   #3
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
It has to be either the processor or monitor that's eating up that battery...in the case of the processor perhaps the fan is being run at full blast continuously? And the monitor, is the lcd brightness the same in both windows and linux? Apart from that i can't think of anything that uses up that much battery power. What i would do is find out the cpu temp in windows(when idle), then compare that to the cpu temp in linux, when idle. If linux is in fact running the fan unneccessarily, the reading should be lower in linux. Then we could force linux to turn off the fan once in a while. There are probably better ways of tackling the issue, but i can't say i know them. I'm not good at this...
 
Old 09-04-2005, 09:41 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
The hdparm utility can be used to set power saving options for the hard drive. Try not to use the cd drive when running on the battery.

Monitor brightness has a large impact on battery life. Use dark colored background and a screensaver with minimal display effects, Don't use gl screensavers. Set dpms in xorg.conf so it'll cut itself off after a while.

Resource usage has an affect as well, Check that ACPI options for cpu and temperature are setup in your kernel. Setup a minimalistic wm to use when you run on battery. I did that with Fluxbox and ended up liking it so much it's my preferred wm.
 
Old 09-04-2005, 01:26 PM   #5
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I dont know why i didnt notice it earlier.... but in windows the laptop is quiet.. whilst with fedora it sounds like a jet. There must be a fan that has either been turned on or sped up significantly. The only problem is i have no idea how to turn that down / off!

(The LCD brightness dims when you unplug it which is working fine though.)
 
Old 09-11-2005, 01:50 AM   #6
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
What you need is "Cpu frequency scaling". Try it on www.google.com/linux for more info.

Fedora kernel should have support for CFS as modules. Just download some daemon controlling the cpu frequency. I'd try them in this order: "powernowd", "cpufreqd", "cpudynd".
 
  


Reply



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
Battery life? carnold Linux - Laptop and Netbook 5 07-11-2005 09:23 AM
Windows: 4-5 hour battery life, Gentoo : ~2:30 battery life numerous Linux - Laptop and Netbook 3 01-17-2005 08:39 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM
Battery life djib Linux - Laptop and Netbook 2 12-04-2004 12:20 PM
Battery life DAChristen29 Linux - Software 2 02-03-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:24 PM.

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
Open Source Consulting | Domain Registration