RFE: powermanager should handle dbus, hald restarts

Bug #123812 reported by Michael Blakeley
40
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Wishlist
Luka Renko

Bug Description

Binary package hint: kde-guidance

(wishlist)

When hald or dbus restart, powermanager claims that no battery is installed. It would be nice if powermanager noticed the service restart, and recovered from it.

Workaround: quit powermanager, and restart it from alt-F2 > guidance-power-manager

$ uname -a
Linux mblakele-lt 2.6.22-7-generic #1 SMP Mon Jun 25 17:07:55 GMT 2007 x86_64 GNU/Linux
$ apt-show-versions kde-guidance-powermanager
kde-guidance-powermanager/gutsy uptodate 0.8.0-1ubuntu9

Related branches

Revision history for this message
Luka Renko (lure) wrote :

Confirmed, this should be handled better in powermanager.

Changed in kde-guidance:
assignee: nobody → lure
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Guillaume Martres (smarter) wrote :

I've made a patch to fix this bug, see attached debdiff.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-guidance - 0.8.0svn20080103-0ubuntu11

---------------
kde-guidance (0.8.0svn20080103-0ubuntu11) hardy; urgency=low

  [ Andreas Wenning ]
  * Added kubuntu_24_displayconfig_no_gamma.patch: As we cannot check if
    the video driver supports live gamma changes, we should catch any
    exceptions generated by lacking support. (LP: #201092, #201468).
  * Added kubuntu_25_kde-powermanager_allways_change_brightness.patch
    which disables the internal check for not setting the same bright-
    ness as last time. Some laptops can change brightness in hardware
    and other programs can change it through HAL, so we should allways
    try to change the brightness.

  [ Guillaume Martres ]
  * Added kubuntu_26_kde-powermanager_handle_hal_dbus_restarts.patch so
    the powermanager better handles dbus/hal restarts. (LP: #123812).

  [ Scott Kitterman ]
  * Added kubuntu_27_displayconfig-restore_try_getsize_again.patch to try to
    get size from screen 0 if the first attempt failed (LP: #206509)

 -- Scott Kitterman <email address hidden> Sat, 05 Apr 2008 20:06:50 -0400

Changed in kde-guidance:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.