Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-11-12 12:29:37

Greutel
Member
Registered: 2016-11-12
Posts: 6

xfce4-battery-plugin does not work

Hello,
i would really like to see the battery percentage without having to hover my mouse over the icon so i installed the xfce4-battery-plugin.
But if i add "battery monitor" to the tray it's still the old plugin without the percentage or the option to show the percentage.

I am on wattOS LXDE R10 with xfce 4.12, i'm pretty new to the linux stuff but i am a fast learner and english is not my first language so sorry in advance for the misunderstandings.

Offline

#2 2016-11-12 12:49:18

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

Hello and welcome.

Right-click the plugin and select Properties. On the display tab are display options for displaying things like the percentage. The Power Manager plugin is the more recent battery plugin that can also display information.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2016-11-12 13:08:14

Greutel
Member
Registered: 2016-11-12
Posts: 6

Re: xfce4-battery-plugin does not work

https://goo.gl/photos/grBREUVHQuY2hvVz6

i have no such options, as you can see.

Last edited by Greutel (2016-11-12 13:10:09)

Offline

#4 2016-11-12 15:07:02

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

You have an older version of the battery plugin. Using your package manager, can you identify which version it is?
What happens when you click on "Show extended information" checkbox?

As for the plugin manager, try running the following command:

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/show-panel-label --create -t int -s 1

...to see if it displays the percentage. If not, can you identify the version as well using your package manager?


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#5 2016-11-12 18:38:31

Greutel
Member
Registered: 2016-11-12
Posts: 6

Re: xfce4-battery-plugin does not work

I have xfce4-battery-plugin version 1.0.5-2ubuntu1, additional information simply displays more info if i hover the mouse over it and the xconf doesn't do anything.

Offline

#6 2016-11-12 19:06:33

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

Greutel wrote:

I have xfce4-battery-plugin version 1.0.5-2ubuntu1, additional information simply displays more info if i hover the mouse over it

Ok, so it was added in a later version then. Looks like your out of luck here.

and the xconf doesn't do anything.

Did you have the power manager plugin added to the panel? What version of xfce4-power-manager do you have installed?


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#7 2016-11-12 20:20:45

Greutel
Member
Registered: 2016-11-12
Posts: 6

Re: xfce4-battery-plugin does not work

the xfce4-power-manager is 1.4.3-0ubuntu1~1.4.04.1,  i think i updated it today and since then the option to add the plugin to the panel is gone.

Offline

#8 2016-11-12 23:27:19

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

Well that's an older version as well so that xfconf command won't work.

You could use the genmon plugin to display something similar by creating a script to extract the battery information and display it in the panel in the format that you want. Here is a script that might work.

If you'd like some help creating a script, post back the results of:

upower -d

...and

ls /proc/acpi/battery

How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#9 2016-11-13 00:04:07

Greutel
Member
Registered: 2016-11-12
Posts: 6

Re: xfce4-battery-plugin does not work

upower-d while plugged in:

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              So 13 Nov 2016 01:00:26 CET (54 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               LGC
  model:                45N1025
  serial:               16398
  power supply:         yes
  updated:              So 13 Nov 2016 01:01:00 CET (20 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              24,71 Wh
    energy-empty:        0 Wh
    energy-full:         40,24 Wh
    energy-full-design:  62,16 Wh
    energy-rate:         30,977 W
    voltage:             12,511 V
    time to full:        30,1 minutes
    percentage:          61%
    capacity:            64,7362%
    technology:          lithium-ion
  History (charge):
    1478995260    61,000    charging
    1478995227    60,000    charging
    1478995226    0,000    unknown
  History (rate):
    1478995260    30,977    charging
    1478995230    27,246    charging
    1478995228    24,681    charging
    1478995227    24,288    charging
    1478995226    0,000    unknown

Daemon:
  daemon-version:  0.9.23
  can-suspend:     yes
  can-hibernate:   yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no


i apparently have no /proc/acpi/battery file.

Offline

#10 2016-11-13 02:30:58

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

Give this a try (it includes the script and icons).


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#11 2016-11-13 14:03:46

Greutel
Member
Registered: 2016-11-12
Posts: 6

Re: xfce4-battery-plugin does not work

I think there's something wrong with the plugins in this distro, genmon doesn't show up either.. I think i'll have to stick with having to hover over the battery icon every time.

Offline

#12 2017-03-05 13:53:04

raleigh
Member
Registered: 2017-03-05
Posts: 1

Re: xfce4-battery-plugin does not work

Hi there, I also have the same issue... Any updates or solution to this? Thank you in advance.

Offline

#13 2017-03-05 14:22:57

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,435

Re: xfce4-battery-plugin does not work

raleigh wrote:

Hi there, I also have the same issue... Any updates or solution to this? Thank you in advance.

Hello and welcome to the forums.

Can you identify which issue you are experiencing (there are a few that are mentioned in this thread)?

Also, which distro and what version of Xfce are you using?


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

Board footer

Powered by FluxBB