Description of problem: When switching from external power to battery power the KDE session is terminated. Version-Release number of selected component (if applicable): kdeutils-3.2.2-3 How reproducible: 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 Actual results: KDE session is terminated Expected results: Battery applet is updated, nothing else happens. Additional info: 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 obviously wrong.
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.