I am also having this problem using an hp nx7000 laptop.

Below is the output of gnome-power-manager run in verbose non-daemon mode.
This output is generated by directly after pulling out power. The initial 
readings are correct-
thereafter the timeleft goes haywire. The acpi command reports the correct 
value.
[notice the jump from 1hr 26min left to 10 minutes left]


[battery_kind_cache_update] gpm-power.c:769 (10:09:36):  emitting 
battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:359 (10:09:36):     Getting stock icon for tray
[get_stock_id] gpm-manager.c:389 (10:09:36):     Trying CRITICAL: primary, ups, 
mouse, keyboard
[get_stock_id] gpm-manager.c:413 (10:09:36):     Trying CHARGING: primary, ups
[get_icon_index_from_percent] gpm-manager.c:300 (10:09:36):      percent = 89
[get_stock_id_helper] gpm-manager.c:343 (10:09:36):      filename = 
battery-discharging-080
[tray_icon_update] gpm-manager.c:465 (10:09:36):         Going to use stock id: 
battery-discharging-080
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (10:09:36):     
Setting icon to battery-discharging-080
[gpm_power_get_status_summary] gpm-power.c:979 (10:09:36):       tooltip: 
Computer is running on battery power
Laptop battery 1 hour, 26 minutes remaining (89%)
[battery_status_changed_primary] gpm-manager.c:1488 (10:09:36):  Already 
notified 1
[battery_kind_cache_debug_print] gpm-power.c:416 (10:09:36):     Device : 
Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:418 (10:09:36):     number     1   
design     37532800
[battery_kind_cache_debug_print] gpm-power.c:420 (10:09:36):     present    1   
last_full  37532800
[battery_kind_cache_debug_print] gpm-power.c:422 (10:09:36):     percent    89  
current    33670000
[battery_kind_cache_debug_print] gpm-power.c:424 (10:09:36):     charge     0   
rate       23458000
[battery_kind_cache_debug_print] gpm-power.c:426 (10:09:36):     discharge  1   
remaining  5167
[battery_kind_cache_debug_print] gpm-power.c:428 (10:09:36):     capacity   0
[watch_device_property_modified] gpm-hal-monitor.c:215 (10:09:36):       
udi=/org/freedesktop/Hal/devices/acpi_C11F, key=battery.charge_level.rate, 
added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:230 (10:09:36):       
emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C11F, 
battery.charge_level.rate
[hal_battery_property_modified_cb] gpm-power.c:1245 (10:09:36):  Battery 
Property Modified: /org/freedesktop/Hal/devices/acpi_C11F
[battery_kind_cache_update] gpm-power.c:731 (10:09:36):  1 devices of type 
Laptop battery
[battery_kind_cache_update] gpm-power.c:769 (10:09:36):  emitting 
battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:359 (10:09:36):     Getting stock icon for tray
[get_stock_id] gpm-manager.c:389 (10:09:36):     Trying CRITICAL: primary, ups, 
mouse, keyboard
[get_stock_id] gpm-manager.c:413 (10:09:36):     Trying CHARGING: primary, ups
[get_icon_index_from_percent] gpm-manager.c:300 (10:09:36):      percent = 89
[get_stock_id_helper] gpm-manager.c:343 (10:09:36):      filename = 
battery-discharging-080
[tray_icon_update] gpm-manager.c:465 (10:09:36):         Going to use stock id: 
battery-discharging-080
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:178 (10:09:36):     
Setting icon to battery-discharging-080
[gpm_power_get_status_summary] gpm-power.c:979 (10:09:36):       tooltip: 
Computer is running on battery power
Laptop battery 10 minutes remaining (89%)
[gpm_tray_icon_notify] gpm-tray-icon.c:763 (10:09:36):   doing notify: Power 
Very Low
[get_widget_position] gpm-tray-icon.c:590 (10:09:36):    widget position 
x=1492, y=23
*** WARNING ***
[libnotify_event] gpm-tray-icon.c:634 (10:09:36):        libnotify: Power 
Manager : You have approximately <b>10 minutes</b> of remaining battery life 
(89%). Plug in your AC Adapter to avoid losing data.
[battery_kind_cache_debug_print] gpm-power.c:416 (10:09:36):     Device : 
Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:418 (10:09:36):     number     1   
design     37532800
[battery_kind_cache_debug_print] gpm-power.c:420 (10:09:36):     present    1   
last_full  37532800
[battery_kind_cache_debug_print] gpm-power.c:422 (10:09:36):     percent    89  
current    33670000
[battery_kind_cache_debug_print] gpm-power.c:424 (10:09:36):     charge     0   
rate       209233508
[battery_kind_cache_debug_print] gpm-power.c:426 (10:09:36):     discharge  1   
remaining  579
[battery_kind_cache_debug_print] gpm-power.c:428 (10:09:36):     capacity   0
[watch_device_property_modified] gpm-hal-monitor.c:215 (10:09:36):       
udi=/org/freedesktop/Hal/devices/acpi_C11F, key=battery.charge_level.current, 
added=0, removed=0
[watch_device_property_modified] gpm-hal-monitor.c:230 (10:09:36):       
emitting battery-property-modified : /org/freedesktop/Hal/devices/acpi_C11F, 
battery.charge_level.current
[hal_battery_property_modified_cb] gpm-power.c:1245 (10:09:36):  Battery 
Property Modified: /org/freedesktop/Hal/devices/acpi_C11F

-- 
Critical power warning at 99%
https://launchpad.net/bugs/42705

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to