<?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>456537</bug_id>
          
          <creation_ts>2022-07-10 04:30:46 +0000</creation_ts>
          <short_desc>Changing battery charge limit does not persist through subsequent boot (ASUS Specific)</short_desc>
          <delta_ts>2022-07-13 20:06:36 +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.25.2</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>450551</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>aisdavid9</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>aisdavid9</cc>
    
    <cc>me</cc>
    
    <cc>nate</cc>
          
          <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>2138053</commentid>
    <comment_count>0</comment_count>
    <who name="">aisdavid9</who>
    <bug_when>2022-07-10 04:30:46 +0000</bug_when>
    <thetext>SUMMARY
On ASUS ROG devices, changing the charge battery limit through KDE System Settings --&gt; Advanced Power Settings, does not persist. On subsequent boot, the number goes back to the default 100% charge limit. This issue seems to be specific to only ASUS ROG laptops across different distros and perhaps maybe across DE as well. There&apos;s a popular workaround within the Zephyrus G14 community using a third-party system-level daemon (https://gitlab.com/asus-linux/asusctl). Changing the battery limit through the asusctl command line does work, I&apos;ve confirmed it myself and the change does persist. However, the package is maintained by third party developers and causes unnecessary issues.

STEPS TO REPRODUCE
1. Open System Settings --&gt; Power Management --&gt; Advanced Power Settings
2. Change the &quot;stop charging at&quot; number to any value between 0 - 100, input the sudo password prompt
3. Reboot

OBSERVED RESULT
Charge limit resets back to 100% default value. this is not a visual bug either, charging the ASUS laptop goes beyond the set threshold (e.g 80%) and up to 100%

EXPECTED RESULT
Charge limit should persist through GUI change, setting a 80% value should persist and stay 80% in the next boot.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.18.10-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD RENOIR
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G14 GA401IU_GA401IU
System Version: 1.0

ADDITIONAL INFORMATION
Please see the asusctl gitlab link as it describes this issue in further detail. A lot of ASUS linux users seems to be having this problem as well. This post can be considered as duplicate to: https://bugs.kde.org/show_bug.cgi?id=450551, but I&apos;m reporting this issue in much further detail and with the request that a fix should be implemented within KDE itself rather than through a workaround third party package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138924</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-07-13 20:06:36 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>