Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-04-2003, 02:30 AM   #1
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Rep: Reputation: 30
Battery Life for Inspiron 2650

I have been trying to look for a way to get my battery to show in Slack. I was looking at another thread and they said to try a program called akpi. Or could there be another type of program. I am about to recompile the kernel and I also so that I might have to add something. Anyone have any ideas on what I would have to do.
Old 11-04-2003, 06:32 AM   #2
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
add acpi support
Old 11-06-2003, 02:16 AM   #3
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
I did that an still nothing
Old 12-29-2003, 06:36 PM   #4
LQ Newbie
Registered: Dec 2003
Distribution: Debian
Posts: 8

Rep: Reputation: 0
I don't use slackware, but have got the battery levels to appear in Kde 3.1.4 after loads of messing about in Debian. This information may help.

When you enable ACPI support it creates an ACPI entry under /proc. The battery information can be found at:


In there you'll find a file called "state"

if you cat that file, you'll see a line:

remaining capacity: xxxxx mah

which is basically the amount of battery life left in the battery, but not in hours + minutes (as you'd probably like). What you need is a utility that then takes this and puts it on your screen ... In KDE 3.1.4, this utility is called Klaptopdaemon.

If that doesn't apply to slackware, sorry, but I thought it may be of help.
Old 12-29-2003, 07:11 PM   #5
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
ACPI is bogus in my opinion. It never works for me either.... I have a dell too. Use APM. It's as easy as could be.

cd /usr/src/linux
make menuconfig

get into the Power Management section. Completely uncheck the "ACPI" and check APM. then scroll down in the heading and check "enable PM at boot time". I always integrate those into the kernel vs. Modules... Keep backing out until it asks you for the final save.

make clean bzImage modules modules_install

I always delete everything in /lib/modules/2.4.22 before I do that. I'm sure it's completely unnecessary. I never have 2 options in grub any way so I don't want left over modules laying around. Doing this type of minor tweaking to the kernel won't result in a non-compilable kernel anyway. Up to you. If your going to go crazy and douche the kernel, don't delete anything.... Keep the old kernel and modules around and make a new entry in your bootloader. Otherwise,


/boot/vmlinuz-ide-2.4.22 (or whatever it is)
(If you use grub, delete everything in /boot except for /boot/grub)





modify grub or lilo to reflect the changes. bzImage is what you want the bootloader to point to.

Not sure why I just posted all that when there is an awsome guide already here..... Sorry....


Last edited by jong357; 12-29-2003 at 07:26 PM.


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
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
how to set battery life indicator in fedora installed on LAptop Dell Inspiron 5150? Sharma Linux - Laptop and Netbook 1 04-14-2004 07:07 PM
RedHat 9 on Dell inspiron 2650 : Battery Remaining spawgi Linux - Newbie 1 03-14-2004 05:37 PM
Inspiron 2650 JROCK1980 Slackware 1 09-04-2003 11:36 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:37 PM.

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