<?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>332906</bug_id>
          
          <creation_ts>2014-04-01 14:59:51 +0000</creation_ts>
          <short_desc>Battery widget does not average both battery&apos;s charge when determining whether to activate hibernate</short_desc>
          <delta_ts>2014-04-02 18:27:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>widget-battery</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>325707</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mark Hammons">markehammons</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>1439001</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hammons">markehammons</who>
    <bug_when>2014-04-01 14:59:51 +0000</bug_when>
    <thetext>My laptop has a 2 battery configuration, and the second battery discharges first. The battery widget obviously does not average the charge of both batteries when determining whether the computer is about to lose power, which means in my situation KDE is trying to hibernate my laptop because my second battery is at 0% and my first battery is at 90%. This is a pretty minor error since I can unplug the second battery and get the issue to disappear, but still it&apos;s nice for polish. If you can point me to approximately where in the kde sources to fix this, I can try to make a patch and submit that.

Reproducible: Always

Steps to Reproduce:
1.Have two or more batteries in your laptop
2. Fully discharge one of them
3. Watch your computer turn itself off over and over again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1439272</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-04-02 18:27:10 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>