Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-10-29 08:22:56

sushi
Member
Registered: 2019-04-22
Posts: 48

xfce4-power-manager wrong wireless keyboard battery level.

Hi,

I have a wireless keyboard and even if the battery (new) is completely charged xfce4-power-manager is showing only charged 70% but never 100%. Is there a way to change this value to get the right one ?

Thank you.

Offline

#2 2019-10-29 10:33:56

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,969

Re: xfce4-power-manager wrong wireless keyboard battery level.

xfce4-power-manager is only reporting what upower is finding. What is the output of the following command:

upower -d

Offline

#3 2019-10-29 12:07:09

sushi
Member
Registered: 2019-04-22
Posts: 48

Re: xfce4-power-manager wrong wireless keyboard battery level.

Hi ToZ,

Here the output about keyboard and mouse (which has the right value) :

Device: /org/freedesktop/UPower/devices/keyboard_hidpp_battery_0
  native-path:          hidpp_battery_0
  model:                K800
  serial:               2010-c0-95-39-d1
  power supply:         no
  updated:              mar 29 oct 2019 13:00:08 CET (56 seconds ago)
  has history:          yes
  has statistics:       yes
  keyboard
    present:             yes
    rechargeable:        yes
    state:               unknown
    warning-level:       none
    battery-level:       unknown
    percentage:          50% (should be ignored)
    icon-name:          'battery-missing-symbolic'

Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_1
  native-path:          hidpp_battery_1
  model:                M705
  serial:               101b-6f-b9-8b-da
  power supply:         no
  updated:              mar 29 oct 2019 12:59:51 CET (73 seconds ago)
  has history:          yes
  has statistics:       yes
  mouse
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    percentage:          95%
    icon-name:          'battery-full-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         no
  updated:              mar 29 oct 2019 07:47:35 CET (18809 seconds ago)
  has history:          no
  has statistics:       no
  unknown
    warning-level:       none
    icon-name:          'battery-missing-symbolic'

Daemon:
  daemon-version:  0.99.11
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  no
  critical-action: PowerOff

Probably upower has files where we can adjust the value for a device ?

Thanks

Offline

#4 2019-10-29 13:37:16

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,969

Re: xfce4-power-manager wrong wireless keyboard battery level.

Which version of upower are you running?

Does unplugging and re-plugging the receiver make upower correctly report the charge?

Offline

#5 2019-10-29 14:52:39

sushi
Member
Registered: 2019-04-22
Posts: 48

Re: xfce4-power-manager wrong wireless keyboard battery level.

Sorry, I forgot to mention the version :

upower 0.99.11-1

Unplugging and re-plugging the receiver didn't change anything. I even did a receiver firmware update today with no changes.

Thanks

Offline

#6 2019-10-29 20:26:39

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,969

Re: xfce4-power-manager wrong wireless keyboard battery level.

My initial thought is that this is most probably a bug in upower and would need to be fixed there. (I am unaware of any upower configuration parameter that might help resolve the issue for you.)

Do you have any other DEs available to test with (Gnome or KDE)? It would be interesting to see if they properly recognize the device.

Offline

#7 2019-10-30 07:16:10

sushi
Member
Registered: 2019-04-22
Posts: 48

Re: xfce4-power-manager wrong wireless keyboard battery level.

I will try to fill a bug report there.

No, I have only xfce4 on my computers.

Thanky ToZ.

Offline

#8 2019-10-31 07:57:48

sushi
Member
Registered: 2019-04-22
Posts: 48

Re: xfce4-power-manager wrong wireless keyboard battery level.

In fact I don't really know where to report the upower "bug" !?

On freedesktop.org it says (when I click on create a new account) :

"freedesktop.org Bugzilla is ONLY for reporting bugs on the Mesa, Piglit, and Linux kernel graphics support projects."

Any idea ?

Offline

#9 2019-10-31 10:30:45

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,969

Re: xfce4-power-manager wrong wireless keyboard battery level.

Looks like here. There don't appear to be any active bug reports, which is odd.

Offline

#10 2019-10-31 12:31:09

sushi
Member
Registered: 2019-04-22
Posts: 48

Re: xfce4-power-manager wrong wireless keyboard battery level.

This is where I landed to... But as you say, it's odd and with the comment about the :

"freedesktop.org Bugzilla is ONLY for reporting bugs on the Mesa, Piglit, and Linux kernel graphics support projects."

It's a kind of weird soup.

I will try and see.

Offline

#11 2019-10-31 12:42:00

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,969

Re: xfce4-power-manager wrong wireless keyboard battery level.

Or maybe just report it through your distro's bug reporting mechanism.

Offline

Board footer

Powered by FluxBB