LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2005, 06:32 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Battery meter shows nothing!


Hello,everyone!

I am asking do you guys have any experience with the kernel setting to enable battery meter successfully?Yeah,you can add the icon easily.But it shows nothing but 0%.

Please drop me a line if you have any successful experience regarding battery meter.Thanks.
 
Old 12-28-2005, 06:47 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You need to be more specific. What application are you using
to display this battery meter? And what output do you get for:
Code:
ls -alh /proc/acpi/battery/BAT1/
Is this setup in your kernel, and do you have ACPI or APM running?
 
Old 12-28-2005, 07:25 AM   #3
con
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Slackware
Posts: 213

Rep: Reputation: 30
I'm assuming this is a laptop. What brand and modell?
 
Old 12-28-2005, 02:04 PM   #4
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
What kernel did you install? I'm guessing you have an ACPI laptop but installed the bare (default) kernel instead of the correct ACPI kernel.

Dennisk
 
Old 12-28-2005, 07:42 PM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Sorry,I just want to be brief to describe my situation but forget to add some important details.

I'm using Slackware Linux,Kernel-2.6.14.3 with ACPI,upgrade from Slackware testing kernel.Also,the computer is my notebook (Dell Inspiron 300M) with ACPI.

Chinaman,thanks for your help.But I don't get anything from your command.Because in the folder /proc/acpi/,I can't find battery folder.

I just don't want to "recompile" my kernel because I have got through this and it takes time.

Thanks for the help you guys have given.
 
Old 12-28-2005, 09:56 PM   #6
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Hi,everyone!Glad to tell you all the problem was fixed.

I posted my question here after I have upgraded my kernel and reboot several time yesterday but no luck.However,the battery meter is on today and I don't know why.Without a doubt,I can see the battery information from the directory /proc/acpi/battery/.

I will figure out what's the problem.Because I have mkinitrd -c -k 2.6.14.3 -m ac:adaptor:battery:acpi and some more modules .However,after I updated the lilo configuration file,it showed nothing in the battery meter.That's why I called it is "strange" when the battery meter is "functional" today.

Thanks for the help again.
 
  


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
Battery Meter uveraser Linux - Laptop and Netbook 3 06-22-2004 07:09 AM
Battery Meter klfreese Red Hat 5 09-01-2003 06:59 PM
Battery level meter wzzrd Linux - Hardware 6 05-01-2003 03:09 PM
Battery Meter PortOS Linux - Hardware 2 12-09-2002 01:01 PM
Battery Meter yawara Linux - General 4 12-04-2002 11:49 AM

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

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