! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Battery panel plugin does not change icon/status when on AC or battery
Status:
RESOLVED: MOVED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Tomas Alnæs 2014-09-22 20:51:50 CEST
When on AC or not the icon is the same, and there is no option to show remaining battery life / estimated time til discharged. Except if you click on the battery panel plugin icon which is a little inconvenient.
Comment 1 Raphael Groner 2014-09-23 19:59:24 CEST
I can reproduce this bug. 

When I uncheck and check again the options in settings dialog, the display gets updated. So I guess the plugin doesn't react on upower events. Maybe implementing a timer to update the display can also help.
Comment 2 Silvio Knizek 2014-09-23 20:04:04 CEST
Works for me on Arch Linux with:
- xfce4-power-manager 1.3.2
- upower 0.99.0
- systemd 216
Comment 3 Silvio Knizek 2014-09-23 22:21:27 CEST
Ok, I rechecked the issue after an hint from Raphael Groner that OP means the xfce4-battery-plugin and not the xfce4-power-manager.

Checking the code at http://git.xfce.org/panel-plugins/xfce4-battery-plugin/tree/panel-plugin/battery.c#n327 indicates that the value is read every 60 seconds if acpi is used, http://git.xfce.org/panel-plugins/xfce4-battery-plugin/tree/panel-plugin/battery.c#n343 indicates that the poll is every 30 seconds else. HTH.
Comment 4 Silvio Knizek 2014-09-23 22:24:04 CEST
To be clear in addition to my last comment: the icon is updated, you have just to wait for it.
Comment 5 Landry Breuil editbugs 2014-11-23 21:43:09 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 6 Git Bot editbugs 2020-05-22 23:08:43 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/-/issues/7.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11185

Reported by:
Tomas Alnæs
Reported on: 2014-09-22
Last modified on: 2020-05-22

People

Assignee:
Xfce-Goodies Maintainers
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information