You are not logged in.
Pages: 1
starting yesterday my power manager shows 6% whether plugged in or not. I tried disabling power manager in startup and adding this command to startup
xfce4-power-manager --no-daemon
also tried logout and reboot nothing changes. Any suggestions? I also completely removed, then reinstalled power manager and then rebooted, no change
Offline
Check your update history to see what (if anything) got updated yesterday. If it had been longer since you rebooted (or at least logged out and back in), then check your update history back to that point.
Also, it might be helpful to include some information in your post, such as your distro/version, version of XFCE, and version of power manager.
Regards,
MDM
Last edited by MountainDewManiac (2014-12-16 16:14:33)
Offline
sorry I run xubuntu 14.04 64bit don't seem to be any bad updates and I did reinstall the power manager, anything else to try?
power manager 1.2.0-3 ubuntu 4.1
Offline
Can you post back the results of:
xfce4-power-manager --dump
---
Then, kill the power manager and run it in debug mode and look for any messages that might indicate what might be happening. To run it in debug mode, from a terminal window:
xfce4-power-manager --quit
...then:
xfce4-power-manager --debug --no-daemon
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
cmcanulty@ubuntu1:~$ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: False
Authorized to shutdown: True
Authorized to spin down hard disks: False
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
cmcanulty@ubuntu1:~$ xfce4-power-manager --quit
cmcanulty@ubuntu1:~$ xfce4-power-manager --debug --no-daemon
TRACE[xfpm-main.c:203] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:640] xfpm_xfconf_init(): lock screen FALSE
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for enable-cpu-freq-control
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for change-brightness-on-key-events
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-ac-timeout
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-battery-timeout
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-power.c:1076] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ADP1
TRACE[xfpm-power.c:1023] xfpm_power_add_device(): device added: ((XfpmDeviceType) XFPM_DEVICE_TYPE_LINE_POWER)
TRACE[xfpm-power.c:1076] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:1023] xfpm_power_add_device(): device added: ((XfpmDeviceType) XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-power.c:1034] xfpm_power_add_device(): Battery device detected at : /org/freedesktop/UPower/devices/battery_BAT0: ((XfpmDeviceType) XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:3323): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-battery.c:150] xfpm_battery_refresh_visible(): visible=TRUE: ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 1
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-polkit.c:368] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.hibernate is authorized=FALSE
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
(xfce4-power-manager:3323): xfce4-power-manager-WARNING **: 'CheckAuthorization' failed with Action org.freedesktop.udisks.drive-set-spindown is not registered
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.udisks.drive-set-spindown is authorized=FALSE
TRACE[xfpm-disks.c:170] xfpm_disks_get_is_auth_to_spin(): Is auth to spin down disks : 0
TRACE[xfpm-manager.c:553] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
TRACE[xfpm-backlight.c:232] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 120
TRACE[xfpm-backlight.c:253] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 9
Last edited by ToZ (2014-12-17 03:25:01)
Offline
Can you re-do this, wait for the debug output to settle, then unplug the adaptor. Lets see if something comes up when its running on battery.
And, can also post back the results of:
upower -i $(upower -e | grep 'BAT')
...with both the laptop plugged in and running on battery?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
cmcanulty@ubuntu1:~$ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: False
Authorized to shutdown: True
Authorized to spin down hard disks: False
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
cmcanulty@ubuntu1:~$ xfce4-power-manager --quit
cmcanulty@ubuntu1:~$ xfce4-power-manager --debug --no-daemon
TRACE[xfpm-main.c:203] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:640] xfpm_xfconf_init(): lock screen FALSE
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for enable-cpu-freq-control
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for change-brightness-on-key-events
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-ac
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-battery
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-ac-timeout
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for spin-down-on-battery-timeout
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:161] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-power.c:1076] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ADP1
TRACE[xfpm-power.c:1023] xfpm_power_add_device(): device added: ((XfpmDeviceType) XFPM_DEVICE_TYPE_LINE_POWER)
TRACE[xfpm-power.c:1076] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:1023] xfpm_power_add_device(): device added: ((XfpmDeviceType) XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-power.c:1034] xfpm_power_add_device(): Battery device detected at : /org/freedesktop/UPower/devices/battery_BAT0: ((XfpmDeviceType) XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:6540): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-battery.c:150] xfpm_battery_refresh_visible(): visible=TRUE: ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 1
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-polkit.c:368] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.hibernate is authorized=FALSE
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
(xfce4-power-manager:6540): xfce4-power-manager-WARNING **: 'CheckAuthorization' failed with Action org.freedesktop.udisks.drive-set-spindown is not registered
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.udisks.drive-set-spindown is authorized=FALSE
TRACE[xfpm-disks.c:170] xfpm_disks_get_is_auth_to_spin(): Is auth to spin down disks : 0
TRACE[xfpm-manager.c:553] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
TRACE[xfpm-backlight.c:232] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 120
TRACE[xfpm-backlight.c:253] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 9
TRACE[xfpm-battery.c:150] xfpm_battery_refresh_visible(): visible=TRUE: ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-dpms.c:74] xfpm_dpms_set_timeouts(): Settings dpms: standby=120 suspend=0 off=300
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 2
TRACE[xfpm-power.c:1170] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-power.c:1134] xfpm_power_hide_adapter_icon(): Hide adaptor icon
cmcanulty@ubuntu1:~$ upower -i $(upower -e | grep 'BAT')
native-path: BAT0
vendor: HP
power supply: yes
updated: Wed 17 Dec 2014 11:45:12 AM EST (19 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 3.35201 Wh
energy-empty: 0 Wh
energy-full: 47.6579 Wh
energy-full-design: 47.6579 Wh
energy-rate: 0 W
percentage: 6%
capacity: 100%
technology: lithium-ion
cmcanulty@ubuntu1:~$
Last edited by ToZ (2014-12-17 18:32:45)
Offline
cmcanulty@ubuntu1:~$ upower -i $(upower -e | grep 'BAT')
native-path: BAT0 vendor: HP power supply: yes updated: Wed 17 Dec 2014 11:45:12 AM EST (19 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 3.35201 Wh energy-empty: 0 Wh energy-full: 47.6579 Wh energy-full-design: 47.6579 Wh energy-rate: 0 W percentage: 6% capacity: 100% technology: lithium-ion
This shows that your battery is discharging ("state: discharging") and that it is currently at 6% left ("percentage: 6%"). Full charge is 47.6579 Wh and current energy level is 3.35201 Wh.
So, xfce4-power-manager is reporting this correctly.
Try plugging it back in and run this same command again every few minutes. The "State:" value should change to "charging" and the "energy:" value should start increasing. If it does not, you may have a problem with your adaptor or connection to your laptop such that it isn't taking a charge.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I don't think it is really 6% as it has run all day it would have long ago shut down, unplugging and plugging just change it from 6% to 6% with a red exclamation point
Offline
It would be interesting to see the results of that command when the laptop is unplugged and then again after its been plugged in for 15 minutes, for comparison purposes.
Either way, I don't think this is an Xfce problem, but rather a problem with your battery or battery recognition. Xfce is just reporting what it finds.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Do you have another OS installed on the laptop? If so, how does what its battery/power manager report compare with what you've been seeing?
Regards,
MDM
Offline
no I've been all linux since 9.04 ubuntu
Offline
Update I ran on battery until it shut itself down. Now the 6% is gone and it shows 1% which is probably correct as I just plugged it in.
Offline
While its plugged in and supposedly charging, do the numbers change at all? Check with:
upower -i $(upower -e | grep 'BAT')
...at regular intervals.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
now it does, looks fixed
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 640.16 KiB (Peak: 673.01 KiB) ]