Re: [gpm] Debugging gnome-power-manager



> What version gnome-power-manager? If it's less than 2.16.0 you might
> want to try the updated code as it fixes many bugs.

It's 2.16.0 (just dist-upgraded to Ubuntu Edgy).  

> 
> You might also want to try and get a gnome-power-manager --verbose
> --no-daemon debug trace to see if the problem is being reported as a
> warning.

Running with those parameters, I see the following in the output that
looks interesting:

[watch_add_battery] gpm-hal-monitor.c:285 (17:18:21):	 emitting
battery-added : /org/freedesktop/Hal/devices/acpi_BAT0
[hal_battery_added_cb] gpm-power.c:1591 (17:18:21):	 Battery
Added: /org/freedesktop/Hal/devices/acpi_BAT0
[add_battery] gpm-power.c:1521 (17:18:21):
adding /org/freedesktop/Hal/devices/acpi_BAT0
[gpm_hal_device_get_string] gpm-hal.c:604 (17:18:21):	 No property
info.vendor on device with id /org/freedesktop/Hal/devices/acpi_BAT0
[gpm_hal_device_get_string] gpm-hal.c:604 (17:18:21):	 No property
battery.serial on device with id /org/freedesktop/Hal/devices/acpi_BAT0
[battery_kind_cache_update] gpm-power.c:997 (17:18:21):	 1 devices of
type Laptop battery
[battery_kind_cache_update] gpm-power.c:1035 (17:18:21):	 emitting
battery-status-changed : Laptop battery
[get_stock_id] gpm-manager.c:454 (17:18:21):	 Trying CRITICAL icon:
primary, ups, mouse, keyboard
[get_stock_id] gpm-manager.c:478 (17:18:21):	 Trying CHARGING icon:
primary, ups
[get_stock_id] gpm-manager.c:495 (17:18:21):	 Trying PRESENT icon:
primary, ups
[gpm_power_get_icon_for_all] gpm-power.c:842 (17:18:21):	 Broken or
missing battery...
[gpm_power_get_icon_from_status] gpm-power.c:906 (17:18:21):	 got
filename: gpm-primary-missing
[tray_icon_update] gpm-manager.c:537 (17:18:21):	 Going to use stock id:
gpm-primary-missing
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:213 (17:18:21):
Setting icon to gpm-primary-missing
*** WARNING ***
[power_get_summary_for_battery_kind] gpm-power.c:1245 (17:18:21):	 in an
undefined state we are not charging or discharging and the batteries are
also not charged
[gpm_power_get_status_summary] gpm-power.c:1300 (17:18:21):	 tooltip:
Computer is running on battery power
Laptop battery  (15%)
[battery_status_changed_primary] gpm-manager.c:2027 (17:18:21):	 Laptop
battery is not discharging
[battery_kind_cache_debug_print] gpm-power.c:495 (17:18:21):	 Device :
Laptop battery
[battery_kind_cache_debug_print] gpm-power.c:497 (17:18:21):	 number
1	design     43200
[battery_kind_cache_debug_print] gpm-power.c:499 (17:18:21):	 present
1	last_full  40726
[battery_kind_cache_debug_print] gpm-power.c:501 (17:18:21):	 percent
15	current    6253
[battery_kind_cache_debug_print] gpm-power.c:503 (17:18:21):	 charge
0	rate (raw) 0
[battery_kind_cache_debug_print] gpm-power.c:505 (17:18:21):	 discharge
0	remaining  1576
[battery_kind_cache_debug_print] gpm-power.c:507 (17:18:21):	 capacity
0

Thoughts?

> 
> Hope that helps,
> 
> Richard.
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]