Notifications stopped working

Bug #32644 reported by Mathieu Pillard
10
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

A recent gnome-power-manager upgrade seems to have supressed the notification messages. It does detect that I switched to battery, changes the luminosity, but doesn't display notifications at all.

Revision history for this message
Mathieu Pillard (diox) wrote :

% apt-cache policy gnome-power-manager
gnome-power-manager:
  Installed: 2.13.91-0ubuntu1
  Candidate: 2.13.91-0ubuntu1
  Version table:
 *** 2.13.91-0ubuntu1 0
        500 http://archive.ubuntu.com dapper/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Mathieu Pillard (diox) wrote : output of gnome-power-manager --verbose --no-daemon

This is the output of gnome-power-manager --verbose --no-daemon.
Although it says 'Already notified' at some point, no notification was shown. I can still see notifications from other programs such as update-notifier, though.

Revision history for this message
Richard Hughes (richard-hughes) wrote : test patch

Your battery does not identify itself as charging quick enough for the notification not to invalidate.
Can you try the attached patch please, and tell me if it works, and if it breaks any of the other notifications.
Thanks.

Revision history for this message
Mathieu Pillard (diox) wrote :

FWIW, both gnome-power-manager and the Battery Charge Monitor applet seem to be taking like ~30 seconds to notice I unplugged AC. This is a recent regression for me, as it used to be instantaneous not so long ago.

Compiling gnome-power-manager with your patch right now, will post results.

Revision history for this message
Mathieu Pillard (diox) wrote :

The patch does seem to work. My previous comment still stands, even though it might be an ubuntu only issue (and a problem with my installation, this laptop went to pre-warty to dapper, using every release in between, so there might be old acpi scripts or whatever slowing it down)

Revision history for this message
Richard Hughes (richard-hughes) wrote :

I've just committed this to CVS:

2006-02-24 Richard Hughes <email address hidden>
 * src/gpm-manager.c (power_on_ac_changed_cb): Invalidate the warning levels for primary battery when the AC is removed. NOTE: we still rely on the battery to begin discharging before we issue the warning in case our power source is UPS. Should start to fix #332322.

It could be your battery falls into the last case, where it doesn't notice it's discharging for a few seconds. You should probably file this as a HAL bug if I'm correct. Richard.

Revision history for this message
Mathieu Pillard (diox) wrote :

With latest gnome-power-manager from dapper it's now working, and I can reproduce the 30 seconds lag any more. That bug is fixed.

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

user states this is fixed in 2.13.92-0ubuntu1

Changed in gnome-power-manager:
status: Unconfirmed → 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.