g-p-m notifies me every second that my battery is running out

Bug #32650 reported by Scott James Remnant (Canonical)
50
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:11): present 1 last_full 24184026
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:11): percent 7 current 1811376
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:11): charge 0 rate 20539710
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:11): discharge 1 remaining 317
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:11): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.rate, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:11): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.rate
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:11): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:11): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:11): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:11): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:11): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:11): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:11): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:11): Already notified 3
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:11): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:11): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:11): present 1 last_full 24184026
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:11): percent 7 current 1811376
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:11): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:11): discharge 1 remaining 315
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:11): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.last_full, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:11): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.last_full
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:11): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:11): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:11): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:11): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:11): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:11): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:11): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:11): Already notified 3
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:11): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:11): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:11): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:11): percent 7 current 1811376
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:11): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:11): discharge 1 remaining 315
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:11): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:11): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:11): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:11): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:11): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:11): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:11): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:11): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:11): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[gpm_tray_icon_notify] gpm-tray-icon.c:760 (21:04:11): doing notify: Power Critically Low
[get_widget_position] gpm-tray-icon.c:589 (21:04:11): widget position x=652, y=23
*** WARNING ***
[libnotify_event] gpm-tray-icon.c:631 (21:04:11): libnotify: Power Manager : You have approximately <b>5 minutes</b> of remaining battery life (7%). Plug in your AC Adapter to avoid losing data.
*** WARNING ***
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:12): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:12): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:12): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:12): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:12): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:12): discharge 1 remaining 298
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:12): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.voltage.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:12): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.voltage.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:12): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:12): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:12): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:12): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:12): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:12): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:12): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:12): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:12): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:12): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:12): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:12): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:12): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:12): discharge 1 remaining 298
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:12): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.reporting.rate, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:12): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.reporting.rate
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:12): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:12): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:12): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:12): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:12): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:12): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:12): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:12): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:12): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:12): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:12): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:12): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:12): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:12): discharge 1 remaining 298
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:12): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.reporting.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:12): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.reporting.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:12): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:12): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:12): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:12): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:12): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:12): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:12): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:12): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:12): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:12): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:12): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:12): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:12): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:12): discharge 1 remaining 298

[notification_closed_cb] gpm-tray-icon.c:602 (21:04:17): caught notification closed signal
[watch_device_properties_modified] gpm-hal-monitor.c:256 (21:04:41): property modified '/org/freedesktop/Hal/devices/acpi_C13A'
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.percentage, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.percentage
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 298
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.remaining_time, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.remaining_time
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20659509
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 298
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.rate, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.rate
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24172811
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 300
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.last_full, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.last_full
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (7%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24166082
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 7 current 1713543
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 300
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.charge_level.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.charge_level.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (6%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24166082
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 6 current 1691518
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 296
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.voltage.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.voltage.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (6%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24166082
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 6 current 1691518
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 296
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.reporting.rate, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.reporting.rate
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (6%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24166082
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 6 current 1691518
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 296
[watch_device_property_modified] gpm-hal-monitor.c:219 (21:04:41): udi=/org/freedesktop/Hal/devices/acpi_C13A, key=battery.reporting.current, added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:238 (21:04:41): emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C13A, battery.reporting.current
[hal_battery_property_modified_cb] gpm-power.c:990 (21:04:41): Battery Property Modified: /org/freedesktop/Hal/devices/acpi_C13A
[battery_kind_cache_update] gpm-power.c:481 (21:04:41): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (21:04:41): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:248 (21:04:41): Getting stock icon for tray
[tray_icon_update] gpm-manager.c:361 (21:04:41): Going to use stock id: gnome-power-bat-0-of-8
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (21:04:41): Setting icon to gnome-power-bat-0-of-8
[gpm_power_get_status_summary] gpm-power.c:716 (21:04:41): tooltip: Computer is running on battery power
Laptop battery 5 minutes remaining (6%)
[battery_status_changed_primary] gpm-manager.c:1204 (21:04:41): Already notified 4
[battery_kind_cache_debug_print] gpm-power.c:356 (21:04:41): Device : Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:358 (21:04:41): number 2 design 24897300
[battery_kind_cache_debug_print] gpm-power.c:360 (21:04:41): present 1 last_full 24166082
[battery_kind_cache_debug_print] gpm-power.c:362 (21:04:41): percent 6 current 1691518
[battery_kind_cache_debug_print] gpm-power.c:364 (21:04:41): charge 0 rate 20552773
[battery_kind_cache_debug_print] gpm-power.c:366 (21:04:41): discharge 1 remaining 296

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

What version g-p-m you got installed?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 32650] g-p-m notifies me every second that my battery is running out

On 2/24/06, Richard Hughes <email address hidden> wrote:

> What version g-p-m you got installed?
>
Current dapper as of when this bug was filed.

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

I've got the exact oposite problem using latest dapper: g-p-m keeps notifying me my battery is charged. Note that the icon is hidden (because it's set to only appear when (dis)charging) while it does this.

Clicking on the notification's close button doesn't make the problem go away.

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

Just in case, I tried changing the icon visibility settings: it didn't change anything.

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

I have now seen something similar to this on current dapper (2.13.92-0ubuntu1) but every time I go to debug it it goes away again.

Changed in gnome-power-manager:
assignee: nobody → dsilvers
status: Unconfirmed → Confirmed
Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

I've got the exact same issue as Mathieu. It happened with todays update. It's extremely annoying to have a notification appear every few seconds. No display setting alters anything, if I hide the icon, the notification just appears in the lower right instead.

Revision history for this message
Carlos Eduardo Pedroza Santiviago (segfault) wrote :
Download full text (110.2 KiB)

Attaching gpm trace as per Kinnison's request:

g-p-m: 2.13.92-0ubuntu1
libnotify1: 0.3.2-0ubuntu3

Trace follows:

[gpm_debug_init] gpm-debug.c:130 (08:55:37): Verbose debugging enabled
[gpm_hash_new_devices_cache] gpm-hal-monitor.c:680 (08:55:38): creating cache
[gpm_hal_has_power_management] gpm-hal.c:132 (08:55:38): Power management type : acpi
[gpm_hash_new_kind_cache] gpm-power.c:1047 (08:55:38): creating cache
[gpm_hash_new_device_cache] gpm-power.c:1073 (08:55:38): creating cache
[gpm_power_set_on_ac] gpm-power.c:755 (08:55:38): emitting ac-state-changed : 1
[gpm_brightness_init] gpm-brightness.c:162 (08:55:38): Starting: (6 of 7)
[gpm_idle_set_check_cpu] gpm-idle.c:206 (08:55:38): Setting the CPU load check to 1
[gpm_manager_init] gpm-manager.c:1766 (08:55:38): creating new tray icon
*** WARNING ***
[sync_dpms_policy] gpm-manager.c:485 (08:55:38): standby timeout is invalid, please re-configure
GNOME Power Manager has encountered a non-critical warning.
Consult http://bugzilla.gnome.org/buglist.cgi?product=gnome-power-manager for any known issues or a possible fix.
Please file a bug with this complete message if not present
[gpm_brightness_level_set_hw] gpm-brightness.c:227 (08:55:38): Setting 6 of 7
[gpm_brightness_level_set_hw] gpm-brightness.c:227 (08:55:38): Setting 7 of 7
*** WARNING ***
[gpm_hal_enable_power_save] gpm-hal.c:305 (08:55:38): No powersave method found
[gpm_hal_enable_power_save] gpm-hal.c:308 (08:55:38): org.freedesktop.Hal.Device.SystemPowerManagement.SetPowerSave failed (HAL error)
[gpm_screensaver_enable_throttle] gpm-screensaver.c:123 (08:55:38): setThrottleEnabled : 0
[gpm_idle_set_system_timeout] gpm-idle.c:272 (08:55:38): Setting system idle timeout: 0
*** WARNING ***
[sync_dpms_policy] gpm-manager.c:485 (08:55:38): standby timeout is invalid, please re-configure
[gpm_manager_init] gpm-manager.c:1817 (08:55:38): Using per-time notification policy
[hal_connect_signals] gpm-hal-monitor.c:548 (08:55:38): Connecting signals to HAL
[hal_connect_signals] gpm-hal-monitor.c:569 (08:55:38): emitting hal-connected
[coldplug_all] gpm-hal-monitor.c:647 (08:55:38): coldplugging all devices
[watch_device_add] gpm-hal-monitor.c:413 (08:55:38): Adding new device to watch: /org/freedesktop/Hal/devices/acpi_BAT1
[watch_device_add] gpm-hal-monitor.c:421 (08:55:38): Creating proxy for: /org/freedesktop/Hal/devices/acpi_BAT1
[watch_add_battery] gpm-hal-monitor.c:465 (08:55:38): emitting battery-added : /org/freedesktop/Hal/devices/acpi_BAT1
[hal_battery_added_cb] gpm-power.c:959 (08:55:38): Battery Added: /org/freedesktop/Hal/devices/acpi_BAT1
[add_battery] gpm-power.c:898 (08:55:38): adding /org/freedesktop/Hal/devices/acpi_BAT1
[battery_kind_cache_update] gpm-power.c:481 (08:55:38): 1 devices of type Laptop battery
[battery_kind_cache_update] gpm-power.c:512 (08:55:38): emitting battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:315 (08:55:38): Getting stock icon for tray
[get_stock_id] gpm-manager.c:345 (08:55:38): Trying CRITICAL: primary, ups, mouse, keyboard
[get_stock_id] gpm-manager.c:369 (08:55:38): Trying CHARGING: primary, ups
[get_icon_index_from_percent] gpm-manager....

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

I spot two problems, one with your hardware, and one with g-p-m. Your transition from 99->100 happens a long time before your battery reports itself as "charged", and if the battery is marked as charging, then the last warning is cancelled, and the warning *could* in theory repeat. I don't see that as responsible for the repeated dialogues, I see my error probably as the culprit:

In src/gpm-manager.c (battery_status_changed_primary) there is:

/* We have to track the last percentage, as when we do the transition
 * 99 to 100 some laptops report this as charging, some as not-charging.
 * This is probably a race. This method should work for both cases. */
if (manager->priv->last_primary_percentage_change == 99 &&
    battery_status->percentage_charge == 100) {
 show_notify = gconf_client_get_bool (manager->priv->gconf_client,
          GPM_PREF_NOTIFY_BATTCHARGED, NULL);

 if (show_notify) {
  gpm_tray_icon_notify (GPM_TRAY_ICON (manager->priv->tray_icon),
          GPM_NOTIFY_TIMEOUT_SHORT,
          _("Battery Charged"),
          NULL,
          _("Your battery is now fully charged"));
 }
 return;
}

if (battery_status->percentage_charge != manager->priv->last_primary_percentage_change) {
 /* should we fire an event or something? */
 manager->priv->last_primary_percentage_change = battery_status->percentage_charge;
}

but we are return'ing after doing the notification, rather than saving the value.

Get rid of that extra "return", and that should fix all the problems.

I'm not sure why more people are not hitting this, myself included.
I'll test this very well, and then commit to gnome cvs.

Richard.
Thanks for the verbose trace Carlos, it was really useful.

Richard.

Revision history for this message
Carlos Eduardo Pedroza Santiviago (segfault) wrote : gpm trace

Trace's attachment.

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

Ohh, I worked out why this only happens for some people. You've got to have oddball-hardware that is still charging for a little while as it gets to full capacity.

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

In GNOME CVS now.

2006-03-03 Richard Hughes <email address hidden>
 * src/gpm-manager.c (battery_status_changed_primary): Remove the extra return that sneaked in to the notification path. This caused people to get repeated "battery is fully charged" messages if thier hardware was a little wonky. Should fix lp:32650 and rh:183612

Daniel, I can roll a new version of g-p-m (2.13.93?) if it's easier than applying all these odd fixes. You'll need another fix I'm about to apply to work with dbus 0.61 that is pretty critical.

Richard.

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

Fixed in 2.13.93-0ubuntu1

Changed in gnome-power-manager:
status: Confirmed → Fix Released
Revision history for this message
Celso Pinto (cpinto) wrote :

I'm still experiencing this problem with g-p-m version 2.13.93-0ubuntu1.

Revision history for this message
Celso Pinto (cpinto) wrote :

Sorry, I forgot to add the relevant lshal output:

udi = '/org/freedesktop/Hal/devices/acpi_BAT0'
  info.udi = '/org/freedesktop/Hal/devices/acpi_BAT0' (string)
  linux.hotplug_type = 4 (0x4) (int)
  battery.charge_level.percentage = 100 (0x64) (int)
  battery.charge_level.rate = 0 (0x0) (int)
  battery.charge_level.last_full = 44724736 (0x2aa7200) (int)
  battery.charge_level.current = 44724736 (0x2aa7200) (int)
  battery.voltage.current = 12479 (0x30bf) (int)
  battery.reporting.rate = 0 (0x0) (int)
  battery.reporting.current = 3584 (0xe00) (int)
  battery.charge_level.capacity_state = 'ok' (string)
  battery.rechargeable.is_discharging = true (bool)
  battery.rechargeable.is_charging = false (bool)
  battery.is_rechargeable = true (bool)
  battery.charge_level.unit = 'mWh' (string)
  battery.charge_level.granularity_2 = 370000 (0x5a550) (int)
  battery.charge_level.granularity_1 = 148000 (0x24220) (int)
  battery.charge_level.low = 2220000 (0x21dfe0) (int)
  battery.charge_level.warning = 3700000 (0x387520) (int)
  battery.charge_level.design = 88800000 (0x54afb00) (int)
  battery.voltage.design = 14800 (0x39d0) (int)
  battery.voltage.unit = 'mV' (string)
  battery.reporting.granularity_2 = 25 (0x19) (int)
  battery.reporting.granularity_1 = 10 (0xa) (int)
  battery.reporting.low = 150 (0x96) (int)
  battery.reporting.warning = 250 (0xfa) (int)
  battery.reporting.design = 6000 (0x1770) (int)
  battery.reporting.last_full = 3584 (0xe00) (int)
  battery.reporting.unit = 'mAh' (string)
  battery.technology = 'LION' (string)
  battery.serial = '5459312974' (string)
  battery.model = 'JM-6' (string)
  battery.vendor = 'Hewlett-Packard' (string)
  battery.present = true (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery' (string)
  battery.type = 'primary' (string)
  info.product = 'Battery Bay' (string)
  info.parent = '/org/freedesktop/Hal/devices/computer' (string)
  linux.acpi_type = 0 (0x0) (int)
  linux.acpi_path = '/proc/acpi/battery/BAT0' (string)

As you can see, the battery charge level is reported has being at 100 and is_charging as false.

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

apparently not fixed yet

Changed in gnome-power-manager:
status: Fix Released → Confirmed
Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Maybe this comment is completely useless, but maybe it helps:

Yesterday a similar thing happened to me:
* Battery was fully charged
* Notification pops up
* Icon stil showing the lightning, so still charging
* /proc/acpi/battery/C138/state said charging state: charged
* Notification re-appears every x seconds (x being around 45-60)

Killing + restarting gnome-power-manager 'solves' it.

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

I can't reproduce this anymore with 2.13.93-0ubuntu3

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

Does not seem to happen anymore for me.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

Sorry, have to take that back. It still happens but it seems to be longer between the pops? At least as in minutes. 2.13.93-0ubutu3 here too.

Revision history for this message
Celso Pinto (cpinto) wrote :

I just popped the Dapper Flight5 live-cd into the laptop and g-p-m still continues to notify me that the battery is fully charged.

I don't know if anyone mentioned this before, but this is a regression because older versions of g-p-m didn't show this behaviour and worked fine.

Revision history for this message
AJ Christensen (deejayfuzion) wrote :

Installed Flight 4, 'smart upgraded' to latest packages:
Gnome gnome-power-manager 2.13.93

Can confirm this is still happening. Didn't happen previous to 2.13.93

Revision history for this message
Celso Pinto (cpinto) wrote :

Just want to add that the problem persists in Flight 6.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

Still happens on a fresh install from the beta live CD.

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

Does this still happen with 2.14.3?

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

It seems to be fixed now. I haven't tried it extensively, but I have actively tried to provoke that behaviour without success.

Revision history for this message
marco parronchi (ubuntu-clipi) wrote :

I had the same problem (dapper rc, vaio z1rsp)
It was so disturbing, I disabled notify in gpm via gconf, then only the gpm icon blink.

But, now, I've found the solution !
My charger was not strong enough to maintain the charge of my double capacity battery.
The floating in the notification appeared only during a cpu sollicitation or at ~99% of charge.

I've receive a new charger compatible (same voltage), but with 1A more.

And now, gpm is quiet, and the estimation time (charge/discharge) is good.
Then, in my case, gpm said to me : "you have to change your charger"
Maybe, gpm and hal are more accurate then before (I began whith hoary on this laptop)

Hope this can help...

Changed in gnome-power-manager:
assignee: dsilvers → nobody
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Not seen this in ages!

Changed in gnome-power-manager:
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

Bug attachments

Remote bug watches

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