LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-05-2004, 11:39 PM   #1
saiz66
Member
 
Registered: Apr 2003
Posts: 225

Rep: Reputation: 30
Q: Does Slack eat more battery in a laptop than windows xp?


I think I read that somewhere. Is it true?
 
Old 12-05-2004, 11:45 PM   #2
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
I use slack 10 with 2.6.9 kernel. It does use a little more battery, but that is because the CPU throttling isn't as good as with windows. The laptop is meant to be used with windows. I'd say it isn't that noticible though, especially with the new ACPI patches.
 
Old 12-06-2004, 04:39 AM   #3
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Linux has a lot more disk activity, like writing to logs, which keeps the harddrive more active. You could try to suspend the drive using hdparm like;
# /usr/sbin/hdparm -c3 -S10 /dev/hda
You'll still see the disk come alive pretty often, unless you disable some of the logs and other stuff.
man hdparm for more info. Also google laptop battery life of something like that for ideas from others with the same problem.
 
Old 12-06-2004, 08:31 AM   #4
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
I beg to differ, I feel that my laptop has better battery performance
than windows xp. I can compare, because I have a dual boot. I am using
cpufreqd and cpudyn to throttle back the cpu. Also cpudyn can slow down
the hard drive speed. As cpudyn installs a rc script in /etc/rc.d which
is great. When ac adapter is plugged in, my cpu runs at 1.12 Ghz, then
when I need it runs at full speed 1.70 Ghz. When running off battery
it runs a 600 Mhz, then when I need it it jumps up to 1.12 Ghz. I
like running at 600 Mhz, when I am just web browsing because I never
here the fan running.

-tank
 
Old 12-06-2004, 11:23 AM   #5
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
See there, tank728 has some good laptop battery life ideas. I knew there was some utilities out there to extend the battery life longer than XP.
 
Old 12-06-2004, 11:32 AM   #6
pitt30
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 16
tank, are there slack packages for these 2 progs or do i need to build from sorce. also, what about kernel config, anything there that needs to be enabled?
my ibm(a30) gets horrible bat life

thanks for any help
 
Old 12-06-2004, 11:49 AM   #7
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
I have built packages for both cpufreqd and cpudyn. I have not
throughly tested the cpudyn package, but it works great for me.
as for the kernel, you need to have cpufreqd[*] built in to the
kernel, and not as a module. I am on an ibm T41.

Note: my cpufreqd.conf file was left alone, but the rc script
that cpudyn has I edited slightly to reflect the hard drive settings

Packages
cpufreqd: ftp://tank728.no-ip.org/pub/slackpac...2.2-i686-1.tgz
cpudyn: ftp://tank728.no-ip.org/pub/slackpac...1.0-i686-1.tgz

Good Luck

-tank
 
Old 12-06-2004, 12:30 PM   #8
pitt30
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 16
thanks, ill give them a shot
 
Old 12-06-2004, 07:46 PM   #9
pitt30
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 16
installed it, but when i restart i have to manually start cpudyn by ./rc.cpudyn. is there a way to auto start this?
 
Old 12-06-2004, 08:20 PM   #10
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
add
/etc/rc.d/rc.cpudyn

to /etc/rc.d/local

this will start it at boot time
along with any other commands

-tank
 
Old 12-06-2004, 08:29 PM   #11
pitt30
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 16
yea i was going to do that but just thought that the install would make this executable and totally set it up.

off to edit it now. thanks
 
  


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
Windows Laptop Battery problem.. newuser455 General 5 09-25-2005 06:53 PM
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
windows eat start up menu of redaht 9 after reinstalling pareshbhangale Red Hat 1 07-11-2004 04:41 PM
Laptop Battery tinesthai Linux - Hardware 0 01-12-2003 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:20 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