! 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 !
Show battery percentage in xfce4-power-manager-plugin
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-power-manager
Component:
General

Comments

Description muntasim.haque 2017-01-04 06:12:34 CET
Created attachment 6945 
battery percentage in xfce4-battery-plugin and xfce4-power-manager-plugin

xfce4-power-manager-plugin shows the battery percentage while hovering over the mouse pointer over it. But it should have a feature that enable it to show the battery percentage or even better, the time remaining, in the panel as does the xfce4-battery-plugin. 
This way we (at least me) won't have to use two plugins for a thing that could be done using a single plugin. This kind of plugin in other desktop environment already has this feature, so why not in our loving Xfce? Thank you.
Comment 1 ToZ editbugs 2017-01-04 12:40:31 CET
xfce4-power-manager added a hidden feature in version 1.5.1 to allow for the display of nothing, percentage, time remaining and percentage and time remaining. 

* New feature:
 - Hidden option to show percentage and/or remaining time in the panel plugin
   (Bug #4499)
   To use it, create the property /xfce4-power-manager/show-panel-label as INT
   in the channel xfce4-power-manager. The possible settings are 0 (don't show
   label), 1 (percentage), 2 (remaining time) and 3 (remaining time and
   percentage).
Comment 2 muntasim.haque 2017-01-04 13:05:45 CET
@ToZ, Sorry I don't follow. I don't know how to create property as you said. Could you elaborate, please?
Comment 3 muntasim.haque 2017-01-04 13:16:03 CET
@ToZ, okay thank you. I figured it out. I used the Settings Editor and made a property. But it didn't work. Then I checked the version of the power-manager and it's 1.4.1, as supplied with Debian jessie. I'd try it on Xubuntu. 
But why make it hidden? Why not make it an option in the drop-down/context menu? That way it would be easier for the average joes' to use this feature.
Comment 4 ToZ editbugs 2017-01-04 15:42:47 CET
As for why its hidden, see https://bugzilla.xfce.org/show_bug.cgi?id=4499#c33. It looks like the plan is to eventually add it as an option on the GUI config dialog.
Comment 5 muntasim.haque 2017-01-05 05:09:56 CET
Thanks.
Comment 6 Git Bot editbugs 2017-10-29 23:28:52 CET
Simon Steinbeiss referenced this bugreport in commit e319a4932617fed22d8ddb27fe4a917f973f2e58

panel-plugin: Add properties dialog (Bug #13270)

https://git.xfce.org/xfce/xfce4-power-manager/commit?id=e319a4932617fed22d8ddb27fe4a917f973f2e58
Comment 7 Simon Steinbeiss editbugs 2017-10-29 23:33:29 CET
I just added a properties dialog to the panel plugin which exposes this setting. Hence this report can finally be closed.

Bug #13270

Reported by:
muntasim.haque
Reported on: 2017-01-04
Last modified on: 2017-10-29

People

Assignee:
Ali Abdallah
CC List:
4 users

Version

Attachments

Additional information