Bug 231972 - status update is slow
status update is slow
Product: Fedora
Classification: Fedora
Component: hal (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: David Zeuthen
Depends On:
  Show dependency treegraph
Reported: 2007-03-13 08:16 EDT by cje
Modified: 2013-03-05 22:49 EST (History)
2 users (show)

See Also:
Fixed In Version: 0.5.9-0.git20070326
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-27 14:42:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description cje 2007-03-13 08:16:39 EDT
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):

How reproducible:

Steps to Reproduce:
1. remove AC power
2. wait
Actual results:
there's a delay

Expected results:
instant response

Additional info:
this is on a toshiba portege P2000 (several years old)
Comment 1 Richard Hughes 2007-03-13 08:29:10 EDT
do you get events from "lshal -m" immediatly?
Comment 2 cje 2007-03-13 09:21:04 EDT
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?
Comment 3 Richard Hughes 2007-03-13 10:19:51 EDT
Yes. I think it's fixed in the latest HAL git master, but I'm unable to build
packages as make distclean is broken.
Comment 4 cje 2007-03-13 10:51:03 EDT
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 :-)
Comment 5 Richard Hughes 2007-03-13 17:47:47 EDT
I've committed a fix to HAL master:


This should be in rawhide in the next couple of days.
Comment 6 cje 2007-03-27 14:42:20 EDT
all working in hal-0.5.9-0.git20070326.fc7

many thanks.    :-)

Note You need to log in before you can comment on or make changes to this bug.