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 - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-26-2011, 07:17 PM   #1
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Rep: Reputation: 15
KDE's Power Manager Reports "Battery Not Present" But it's Definitely Present


Hello everyone, I have a weird problem. One out of every three boots or so (give or take) KDE's power manager widget (by the clock) shows a red x on it and reports "Battery: Not Present". Usually when I reboot it's fine, but every now and then when I start my laptop it reports my battery is not there, and also sometimes when resuming from standby.

While having this problem, if I run the command "cat /proc/acpi/battery/BAT0/state" I get:
Code:
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            1 mA
remaining capacity:      8657 mAh
present voltage:         12764 mV
Even though that output says "present," KDE's power manager says it isn't and power management features are disabled. I know this problem might seem petty, but it's driving me nuts since I've spent a lot of time researching to try to fix it.

I am using KDE 4.6.2 on Arch Linux (64-bit). My laptop is a Dell Latitude E6410. Interestingly enough, when I tested Kubuntu on this laptop, I NEVER have this problem, even after rebooting twenty times, I cannot reproduce it. It only happens with Arch. With Arch, I went as far as testing the latest RC's of kernel 2.6.39 which have the same issue. I prefer to use Arch.

I have been Googling this for about a month and turned up nothing. I figured that if I don't have the problem in Kubuntu, there must have been a bug report that allowed them to fix it, but there isn't. Not even on KDE's bug tracker either, or at least none relevant to my laptop.

Has anyone else had this problem with KDE and solved it? (By the way, upower and dbus are running).

Last edited by jlacroix; 04-28-2011 at 06:32 PM.
 
Old 04-27-2011, 02:57 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
acpi_battery makes a module. Is it compiled in or loaded?
 
Old 04-27-2011, 08:51 PM   #3
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Original Poster
Rep: Reputation: 15
I'm not sure, how do I find out?

I did some more testing, and for whatever reason, if I run the below command, the battery icon starts seeing the battery right away:

"cat /proc/acpi/battery/BAT0/state"

When the battery isn't detected, running that command makes it detected. I am not sure why simply running that command fixes it whenever I have this problem. I would rather not have to use that command to find the battery though.
 
Old 04-28-2011, 02:47 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by jlacroix View Post
I'm not sure, how do I find out?
The lazy trick I use is to open a kernel configuration, find the option, read the help and it names the option. It saves me finding out a handier way :-).
 
Old 04-28-2011, 06:31 PM   #5
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Original Poster
Rep: Reputation: 15
Oddly enough I didn't even have acpi installed, so I installed it and will see how it goes. I have no idea how my system has functioned without acpi installed...

I will consider this solved for now, thank you for your reply
 
Old 09-11-2011, 08:10 PM   #6
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Original Poster
Rep: Reputation: 15
It looks like I was wrong about my earlier indication, this is still not solved and I never figured it out. I figured I would get around to trying to fix all the loose ends on this laptop, and thought I'd give this another chance to try and fix it.

Anyone know what may cause such a problem in KDE?
 
  


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
boot message -> "eth0: link is not ready" but device is present mgard Linux - Kernel 1 12-17-2010 10:26 PM
echo "blabla" in a script present present in /etc/rc.d/rc5.d/S96dinesh murugesan Linux - Newbie 3 04-14-2009 10:53 PM
"Battery not present" after upgrade Debian etch to Lenny Debiantist Linux - Newbie 3 12-02-2008 08:42 AM
Battery Showing as "Not Present" Matir Linux - Hardware 5 04-30-2007 08:09 PM
wireless drivers installed, card on lspci, "hardware NOT present" colindownes Linux - Wireless Networking 1 12-21-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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