LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2003, 03:45 PM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
Monitoring Battery on laptop


How would I go about monitoring a battery in Linux for my laptop?
I know there are processes running (I think) that do that if I remember correctly but I don't know how to configure them so they warm me or notify me of status etc...
 
Old 10-14-2003, 04:03 PM   #2
ceedeedoos
Member
 
Registered: Aug 2003
Location: Antwerp, Belgium
Distribution: Slackware 10.0, Mandrake 10.1
Posts: 174

Rep: Reputation: 35
for ACPI you'll need acpid running, and then you can use gkrellm or other monitoring software ...
for apm you'll need apmd running and the same software would do just fine ... also depends on if the kernel was compiled with support for those technologies, or not ...
 
Old 10-14-2003, 04:15 PM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
How do I add it to be in the kernel?
 
Old 10-15-2003, 12:42 PM   #4
mtrtm
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Yeah, I have redhat 9 and the battery monitor does not work. I am new to linux in general and just dual booting was a pain. I have kernel 2.4.20-8 and would like to enable? acpi(d?) on it. Any help in this would be great. Thx
 
Old 10-15-2003, 12:56 PM   #5
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
I second that... (about how to get my battery monitoring daemon (acpid) running in my kernel)

Also if this concerns recompiling the kernel, what are some nice GUIs for configuring the kernel modules etc.
 
Old 10-16-2003, 04:17 PM   #6
ravnx
LQ Newbie
 
Registered: Jun 2002
Location: Houston, TX
Distribution: Gentoo, Slackware
Posts: 11

Rep: Reputation: 0
run APMD its less buggy and should work on almost any latop.
 
Old 10-16-2003, 04:46 PM   #7
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
What is I have no APMD support in the kernel? How do I get it in there?
 
Old 10-16-2003, 05:55 PM   #8
ravnx
LQ Newbie
 
Registered: Jun 2002
Location: Houston, TX
Distribution: Gentoo, Slackware
Posts: 11

Rep: Reputation: 0
in redhat, since it should have the module compiled already, just type "modprobe apm"
 
Old 10-16-2003, 05:59 PM   #9
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
no dice...

I just installed RH 9.0 and during the install chose EVERYTHING...
 
Old 10-16-2003, 06:03 PM   #10
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
I just checked and apmd is set as one of the services running, but a ps -A | grep apm doesn't show it. Also if I just try to manuall start it it says no apm support in kernel. Any ideas how to add it to the kernel?
 
Old 10-16-2003, 10:13 PM   #11
nidua18
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
I you want ACPI support read the kernel compiling sticky in Red Hat forum, it’s the best guide I have seen so far. All you need to do is get the 2.4.22 kernel from kernel.org patch it with ACPI patch, which you can find on sourceforge, compile it and install it. Then download, also from sourceforge, and install the ACPI daemon (acpid). Once you have your new kernel up and running download and install i2c and lm_sensors. Both of those have great instructions included with them in the quickstart file. The longest part of this procedure is compiling the kernel and if you want nice GUI for configuring your kernel just use xconfig.
 
Old 10-16-2003, 11:34 PM   #12
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
What is the link to the "kernel compiling sticky"?
 
Old 10-17-2003, 12:00 AM   #13
nidua18
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Here you go

http://www.linuxquestions.org/questi...threadid=91503
 
  


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
Laptop battery question saiz66 Slackware 6 10-21-2005 09:02 AM
command line monitoring of battery lmcilwain Fedora 1 08-05-2005 05:26 PM
Ksysguard Battery Monitoring Failure smartfüd Linux - Newbie 2 04-09-2004 08:49 PM
Laptop Battery tinesthai Linux - Hardware 0 01-12-2003 09:42 PM
Overcharging laptop battery... HELP ME! Eits0 General 1 08-11-2002 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration