Red Hat Bugzilla – Bug 143922
ACPI battery rate 0 causes logout
Last modified: 2007-11-30 17:10:57 EST
Description of problem:
When switching from external power to battery power the KDE session is
Version-Release number of selected component (if applicable):
Happens most of the time when external power is removed
Steps to Reproduce:
1. Run KDE on a Presario 2166EA (or similar?)
2. Charge the battery completely
3. Remove external power source
KDE session is terminated
Battery applet is updated, nothing else happens.
kdeutils-3.2.2/klaptopdaemon/portable.cpp already has code around line
490 to ignore the first few readings after switching to battery power.
It may as well be extended to ignore any reading of zero, which is
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Created attachment 114675 [details]
Avoid problem by ignoring rate 0 readings
Here is a patch which seems to solve the problem on my system. I have been
using the patch for a month, and haven't seen any problems since.
I haven't seen this problem on FC4 or FC5. I will close the bug.