<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>394943</bug_id>
          
          <creation_ts>2018-06-02 09:48:06 +0000</creation_ts>
          <short_desc>Battery is not detected in Plasma session</short_desc>
          <delta_ts>2018-06-02 09:52:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>Powerdevil</product>
          <component>general</component>
          <version>5.12.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>350365</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rolf Eike Beer">kde</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1756279</commentid>
    <comment_count>0</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2018-06-02 09:48:06 +0000</bug_when>
    <thetext>After upgrading from openSUSE 42.2 to 15.0 the battery icon in my systray now always shows &quot;no batteries available&quot;. This has been an intermittent problem previously, but it has worked most of the time. Now it is always broken. When I lock the screen the battery state is correctly shown on the lock screen, but the systray applet never shows this.

This has other disadvantages: the system does not automatically suspend itself when the battery goes low, which can lead to data loss.

OTOH when the battery level drops below 10% I _do_ get a warning about this, and the screen brightness is changed. Which is usually pretty dump, as it changes the screen brightness to ~30%, even if it was _below_ that before (but that is another story and another bug).

upower seems to have everything right:

daneel:~ #  upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              Sat Jun  2 11:25:57 2018 (651 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              no
    icon-name:          &apos;ac-adapter-symbolic&apos;

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               Notebook
  model:                BAT
  serial:               0001
  power supply:         yes
  updated:              Sat Jun  2 11:36:00 2018 (48 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              36.545 Wh
    energy-empty:        0 Wh
    energy-full:         37.543 Wh
    energy-full-design:  45.36 Wh
    energy-rate:         6.89472 W
    voltage:             16.671 V
    time to empty:       5.3 hours
    percentage:          96%
    capacity:            82.6667%
    technology:          lithium-ion
    icon-name:          &apos;battery-full-symbolic&apos;
  History (charge):
    1527932160  96.000  discharging
  History (rate):
    1527932160  6.895   discharging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Sat Jun  2 11:36:00 2018 (48 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              36.545 Wh
    energy-full:         37.543 Wh
    energy-rate:         6.89472 W
    time to empty:       5.3 hours
    percentage:          96%
    icon-name:          &apos;battery-full-symbolic&apos;

Daemon:
  daemon-version:  0.99.7
  on-battery:      yes
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: Hibernate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756280</commentid>
    <comment_count>1</comment_count>
    <who name="Rolf Eike Beer">kde</who>
    <bug_when>2018-06-02 09:52:43 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 350365 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>