On Sun, 2007-11-18 at 16:32 +0000, Chris Vine wrote: > I will send a separate e-mail with the results where version 2.20.1 is > installed on top of version 2.18.3, which displays the icon correctly. And here is where version 2.20.1 is installed on top of version 2.18.3: (a) the output of gnome-power-manager --nodaemon --verbose (power_manager_working.txt), (b) a JPEG image of my gnome panel (power_manager_working.jpg). Chris
Attachment:
power_manager_working.jpg
Description: JPEG image
vine laptop:~$ gnome-power-manager --no-daemon --verbose [gpm_debug_init] gpm-debug.c:236 (16:23:22): Verbose debugging enabled [main] gpm-main.c:218 (16:23:22): GNOME Power Manager 2.20.1 [gpm_ac_adapter_init] gpm-ac-adapter.c:217 (16:23:23): using /org/freedesktop/Hal/devices/acpi_ADP0 [gpm_control_init] gpm-control.c:657 (16:23:23): Using a supressed policy timeout of 5 seconds [coldplug_buttons] gpm-button.c:448 (16:23:23): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_1 [coldplug_buttons] gpm-button.c:448 (16:23:23): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_0 [coldplug_buttons] gpm-button.c:448 (16:23:23): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input [coldplug_buttons] gpm-button.c:448 (16:23:23): Watching /org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input ** (gnome-power-manager:16979): WARNING **: DBUS error: Could not get owner of name 'org.gnome.ScreenSaver': no such name ** (gnome-power-manager:16979): DEBUG: proxy is NULL, maybe the daemon responsible for org.gnome.ScreenSaver is not running? *** WARNING *** [gpm_screensaver_proxy_connect_more] gpm-screensaver.c:119 (16:23:23): not connected [gpm_webcam_get_image] gpm-webcam.c:91 (16:23:23): Creating source /dev/video0 [gpm_webcam_get_image] gpm-webcam.c:99 (16:23:23): Creating sink /home/vine/.gnome2/gnome-power-manager/webcam.png [gpm_webcam_get_image] gpm-webcam.c:106 (16:23:23): Link together [gpm_webcam_get_image] gpm-webcam.c:114 (16:23:23): Set playing [gpm_webcam_get_image] gpm-webcam.c:139 (16:23:23): Cleanup [gpm_prefs_server_set_capability] gpm-prefs-server.c:84 (16:23:23): capability now 4 *** WARNING *** [gpm_light_sensor_get_absolute] gpm-light-sensor.c:149 (16:23:23): no hardware! *** WARNING *** [gpm_backlight_brightness_evaluate_and_set] gpm-backlight.c:361 (16:23:23): no dimming hardware [gpm_backlight_sync_policy] gpm-backlight.c:158 (16:23:23): choosing sensible default [gpm_backlight_sync_policy] gpm-backlight.c:160 (16:23:23): laptop, so use GPM_DPMS_METHOD_OFF [gpm_backlight_sync_policy] gpm-backlight.c:192 (16:23:23): BACKLIGHT parameters 0 0 1800, method '4' [gpm_dpms_set_enabled] gpm-dpms.c:408 (16:23:23): setting DPMS enabled: 1 [x11_sync_server_dpms_settings] gpm-dpms.c:130 (16:23:23): Syncing DPMS settings enabled=1 timeouts=0 0 0 [x11_sync_server_dpms_settings] gpm-dpms.c:130 (16:23:23): Syncing DPMS settings enabled=1 timeouts=0 0 0 [gpm_idle_set_check_cpu] gpm-idle.c:236 (16:23:23): Setting the CPU load check to 0 [gpm_manager_init] gpm-manager.c:1763 (16:23:23): creating new inhibit instance [gpm_manager_init] gpm-manager.c:1773 (16:23:23): creating new control instance [gpm_manager_init] gpm-manager.c:1778 (16:23:23): creating new tray icon [gpm_manager_init] gpm-manager.c:1787 (16:23:24): initialising info infrastructure [gpm_profile_init] gpm-profile.c:909 (16:23:24): creating new control instance [gpm_profile_init] gpm-profile.c:930 (16:23:24): on AC [gpm_idle_set_system_timeout] gpm-idle.c:287 (16:23:24): Setting system idle timeout: 0 [gpm_warnings_init] gpm-warnings.c:266 (16:23:24): Using per-time notification policy [gpm_phone_dbus_connect] gpm-phone.c:267 (16:23:24): get connection [gpm_phone_dbus_connect] gpm-phone.c:278 (16:23:24): get proxy *** WARNING *** [gpm_phone_dbus_connect] gpm-phone.c:286 (16:23:24): Cannot connect, maybe the daemon is not running: Could not get owner of name 'org.gnome.phone': no such name [gpm_check_device_key] gpm-cell-array.c:714 (16:23:24): checking primary against primary [gpm_cell_array_add_hal_udi] gpm-cell-array.c:786 (16:23:24): adding the right kind of battery: primary [gpm_cell_unit_print] gpm-cell-unit.c:65 (16:23:24): device Laptop battery [gpm_cell_unit_print] gpm-cell-unit.c:66 (16:23:24): present 1 [gpm_cell_unit_print] gpm-cell-unit.c:67 (16:23:24): percent 95 [gpm_cell_unit_print] gpm-cell-unit.c:68 (16:23:24): is charging 0 [gpm_cell_unit_print] gpm-cell-unit.c:69 (16:23:24): is discharging 0 [gpm_cell_unit_print] gpm-cell-unit.c:71 (16:23:24): charge current 26817 [gpm_cell_unit_print] gpm-cell-unit.c:74 (16:23:24): charge last 28060 [gpm_cell_unit_print] gpm-cell-unit.c:77 (16:23:24): charge design 32560 [gpm_cell_unit_print] gpm-cell-unit.c:89 (16:23:24): capacity 86 [gpm_cell_unit_print] gpm-cell-unit.c:92 (16:23:24): voltage 16526 [gpm_profile_set_config_id] gpm-profile.c:782 (16:23:24): config_id = G320 [gpm_profile_load_data] gpm-profile.c:733 (16:23:24): loading battery data from '/home/vine/.gnome2/gnome-power-manager/profile-G320-discharging.csv' [gpm_profile_load_data] gpm-profile.c:733 (16:23:24): loading battery data from '/home/vine/.gnome2/gnome-power-manager/profile-G320-charging.csv' [gpm_profile_set_config_id] gpm-profile.c:801 (16:23:24): Reference times [gpm_profile_set_config_id] gpm-profile.c:803 (16:23:24): 99-0 74 minutes [gpm_profile_set_config_id] gpm-profile.c:805 (16:23:24): 50-0 35 minutes [gpm_profile_set_config_id] gpm-profile.c:808 (16:23:24): 0-99 110 minutes [gpm_profile_set_config_id] gpm-profile.c:810 (16:23:24): 50-99 64 minutes [gpm_cell_array_update] gpm-cell-array.c:344 (16:23:24): 1 devices of type primary [gpm_cell_array_update] gpm-cell-array.c:391 (16:23:24): unit->percentage = 95 [gpm_cell_array_collection_changed] gpm-cell-array.c:748 (16:23:24): ** EMIT: collection-changed [gpm_engine_recalculate_state] gpm-engine.c:632 (16:23:24): ignoring due to coldplug [gpm_cell_array_percent_changed] gpm-cell-array.c:524 (16:23:24): printing combined new device: [gpm_cell_unit_print] gpm-cell-unit.c:65 (16:23:24): device Laptop battery [gpm_cell_unit_print] gpm-cell-unit.c:66 (16:23:24): present 1 [gpm_cell_unit_print] gpm-cell-unit.c:67 (16:23:24): percent 95 [gpm_cell_unit_print] gpm-cell-unit.c:68 (16:23:24): is charging 0 [gpm_cell_unit_print] gpm-cell-unit.c:69 (16:23:24): is discharging 0 [gpm_cell_unit_print] gpm-cell-unit.c:71 (16:23:24): charge current 26817 [gpm_cell_unit_print] gpm-cell-unit.c:74 (16:23:24): charge last 28060 [gpm_cell_unit_print] gpm-cell-unit.c:77 (16:23:24): charge design 32560 [gpm_cell_unit_print] gpm-cell-unit.c:83 (16:23:24): time charge 796 [gpm_cell_unit_print] gpm-cell-unit.c:86 (16:23:24): time discharge 4311 [gpm_cell_unit_print] gpm-cell-unit.c:92 (16:23:24): voltage 16526 [gpm_cell_array_percent_changed] gpm-cell-array.c:554 (16:23:24): No warning [gpm_cell_array_update] gpm-cell-array.c:344 (16:23:24): 1 devices of type primary [gpm_cell_array_update] gpm-cell-array.c:391 (16:23:24): unit->percentage = 95 [gpm_check_device_key] gpm-cell-array.c:714 (16:23:24): checking primary against ups [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:23:24): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for ups [gpm_cell_array_update] gpm-cell-array.c:277 (16:23:24): no devices of type 1 [gpm_check_device_key] gpm-cell-array.c:714 (16:23:24): checking primary against mouse [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:23:24): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for mouse [gpm_cell_array_update] gpm-cell-array.c:277 (16:23:24): no devices of type 2 [gpm_check_device_key] gpm-cell-array.c:714 (16:23:24): checking primary against keyboard [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:23:24): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for keyboard [gpm_cell_array_update] gpm-cell-array.c:277 (16:23:24): no devices of type 3 [gpm_check_device_key] gpm-cell-array.c:714 (16:23:24): checking primary against pda [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:23:24): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for pda [gpm_cell_array_update] gpm-cell-array.c:277 (16:23:24): no devices of type 5 *** WARNING *** [gpm_phone_coldplug] gpm-phone.c:79 (16:23:24): not connected [gpm_cell_array_update] gpm-cell-array.c:277 (16:23:24): no devices of type 4 [gpm_prefs_server_set_capability] gpm-prefs-server.c:84 (16:23:24): capability now 12 [gpm_engine_get_icon] gpm-engine.c:391 (16:23:24): Trying CRITICAL icon: primary, ups, mouse, keyboard *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:23:24): percentage zero, something's gone wrong *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:23:24): percentage zero, something's gone wrong *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:23:24): percentage zero, something's gone wrong [gpm_engine_get_icon] gpm-engine.c:423 (16:23:24): Trying CHARGING icon: primary, ups [gpm_engine_get_icon] gpm-engine.c:440 (16:23:24): Trying PRESENT icon: primary, ups [gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (16:23:24): got filename: gpm-primary-charged [gpm_engine_recalculate_state_icon] gpm-engine.c:563 (16:23:24): ** EMIT: icon-changed: gpm-primary-charged [gpm_tray_icon_set_icon] gpm-tray-icon.c:173 (16:23:24): Setting icon to gpm-primary-charged [gpm_cell_array_get_description] gpm-cell-array.c:960 (16:23:26): accuracy = 100 [gpm_engine_get_summary] gpm-engine.c:349 (16:23:26): tooltip: Computer is running on AC power Laptop battery fully charged (95%) Provides 1 hour 10 minutes battery runtime Battery charge time is estimated [gpm_engine_recalculate_state_summary] gpm-engine.c:603 (16:23:26): ** EMIT: summary-changed(1): Computer is running on AC power Laptop battery fully charged (95%) Provides 1 hour 10 minutes battery runtime Battery charge time is estimated [gconf_key_changed_cb] gpm-conf.c:332 (16:23:26): emitting value-changed : '/apps/gnome-screensaver/power_management_delay' [gconf_key_changed_cb] gpm-screensaver.c:181 (16:23:26): key : /apps/gnome-screensaver/power_management_delay [hal_device_property_modified_cb] gpm-cell.c:249 (16:23:32): udi=/org/freedesktop/Hal/devices/acpi_BAT0, key=battery.voltage.current, added=0, removed=0, finally=1