[kde] [Bug 374901] New: Battery indicator shows red icon warning 0% all the time on desktop

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Jan 11 08:23:03 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=374901

            Bug ID: 374901
           Summary: Battery indicator shows red icon warning 0% all the
                    time on desktop
           Product: kde
           Version: 4.14.1
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: Vasilis.Vlachoudis at cern.ch
  Target Milestone: ---

On my desktop computer with Fedora-25 (also in fedora-23 was similar) the
battery indicator on the status bar flashes constantly with a red icon and
shows a message "0% Plugged in, not Charging"
The only devices that I have with batteries are the APC ups and an Apple
Wireless keyboard. When I click the icon it displays two entries 
"Apple keyboard with battery level 33%"
and an additional entry "Battery not present"

In Fedora-23 I could eliminate the red warning by restarting the
upower.service. Not any more in fedora-25

The upower reports the following:

The ups for some reason appears twice as ups_hiddev0 and as DisplayDevice, but
both reported fully-charged, however the updated time for the ups_hiddev0 as
updated in 1970 (0s unix time), on the Display entry is correct.

Most probably there is a problem either with upowerd or apcupsd, but why kde is
reporting 0%?

$ upower -d
Device: /org/freedesktop/UPower/devices/keyboard_hid_e4o8bo7fo20oc1o29_battery
  native-path:          hid-e4:8b:7f:20:c1:29-battery
  model:                Apple Wireless Keyboard
  power supply:         no
  updated:              Wed Jan 11 09:15:18 2017 (6 seconds ago)
  has history:          yes
  has statistics:       yes
  keyboard
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    percentage:          33%
    icon-name:          'battery-good-symbolic'

Device: /org/freedesktop/UPower/devices/ups_hiddev0
  native-path:         
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/usbmisc/hiddev0
  vendor:               American Power Conversion
  model:                Smart-UPS 1500 FW:COM 02.1 / UPS.05.I
  serial:               AS1048120739  
  power supply:         yes
  updated:              Thu Jan  1 01:00:00 1970 (1484122524 seconds ago)
  has history:          yes
  has statistics:       yes
  ups
    present:             yes
    state:               fully-charged
    warning-level:       none
    time to empty:       1.9 hours
    percentage:          100%
    icon-name:          'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Wed Jan 11 08:53:15 2017 (1329 seconds ago)
  has history:          no
  has statistics:       no
  ups
    present:             yes
    state:               fully-charged
    warning-level:       none
    time to empty:       1.9 hours
    percentage:          100%
    icon-name:          'battery-full-charged-symbolic'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list