elementary / wingpanel-indicator-power

Wingpanel Power Indicator
GNU General Public License v3.0
24 stars 15 forks source link

Battery Looks Buggy With Mouse Battery #135

Open Fatih20 opened 4 years ago

Fatih20 commented 4 years ago

Prerequisites

Describe the bug

A clear and concise description of what the bug is. The battery panel wingpanel is kinda buggy when showing a mouse's battery. Screenshot from 2020-04-04 22-10-10 Screenshot from 2020-04-04 22-10-01 The symbolic battery icon should've been full and the percentage shouldn't have been 0 percent.

To Reproduce

Steps to reproduce the behavior:

  1. Go to your desktop
  2. Plug a wireless mouse
  3. Check the panel

Platform Information

System Info

Please check what applies: -->

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/91701329-battery-looks-buggy-with-mouse-battery?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github).
kvdz commented 3 years ago

@Fatih20 Thank you for repoting this bug, could you give me some more internal information by executing this command in the terminal. upower -d

kvdz commented 3 years ago

My personal desktop shows it like this:

upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              di 01 dec 2020 21:12:25 CET (37 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes
    icon-name:          'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         no
  updated:              di 01 dec 2020 21:12:21 CET (41 seconds ago)
  has history:          no
  has statistics:       no
  unknown
    warning-level:       none
    icon-name:          'battery-missing-symbolic'

Daemon:
  daemon-version:  0.99.7
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  no
  critical-action: HybridSleep

I don't have a wireless mouse, so I don't see the indicator.