Red Hat Bugzilla – Bug 231972
status update is slow
Last modified: 2013-03-05 22:49:37 EST
Description of problem:
when i unplug the laptop (from AC power) it takes a little while for the system
status to change. (the screen dims, the power icon changes and there's a notify
message). i'm sure it used to be instant - isn't it event driven? is this a
tickless kernel side-effect? who can say?!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. remove AC power
there's a delay
this is on a toshiba portege P2000 (several years old)
do you get events from "lshal -m" immediatly?
ah. no. i get a set of battery stats reported in lshal every 30secs and the
ac_adapter and battery.rechargeable messages arrive with that lot.
so does that mean this is a problem with HAL rather than with g-p-m?
Yes. I think it's fixed in the latest HAL git master, but I'm unable to build
packages as make distclean is broken.
okay. i've changed the component accordingly. feel free to change it back if i
shouldn't have done so. big thanks for the quick and helpful responses :-)
I've committed a fix to HAL master:
This should be in rawhide in the next couple of days.
all working in hal-0.5.9-0.git20070326.fc7
many thanks. :-)