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

            Bug ID: 449997
           Summary: Battery charge limit is not supported on Asus laptops
           Product: Powerdevil
           Version: 5.24.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: dark...@live.com
  Target Milestone: ---

Created attachment 146574
  --> https://bugs.kde.org/attachment.cgi?id=146574&action=edit
output of ls -Flavh /sys/class/power_supply/BAT0/

SUMMARY
The option  to set the battery charge limit does not show up on my Asus
Vivobook laptop.

I suspect that the MR:
 "Support new charge_control_*_threshold" -
https://invent.kde.org/plasma/powerdevil/-/merge_requests/70)"

Did not account for the case where "charge_control_start_threshold" does not
exist, as outlined in this comment:
https://invent.kde.org/plasma/powerdevil/-/merge_requests/22#note_110418


STEPS TO REPRODUCE
1. In the terminal run "systemsettings"
2. Navigate to Power Management > Advanced Power Settings

OBSERVED RESULT
The charged limit settings are not shown.

The terminal logs:
Warning from helper: Failed to open
"/sys/class/power_supply/BAT0/charge_control_start_threshold" for reading
Warning from helper: Failed to open
"/sys/class/power_supply/BAT0/charge_start_threshold" for reading
Warning from helper: Failed to open
"/sys/class/power_supply/BAT0/charge_stop_threshold" for reading
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
not supported"

EXPECTED RESULT
The charge limit settings should be supported and shown.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-28-generic (64-bit)

ADDITIONAL INFORMATION
- Using the command line to set the charge threshold works as expected.
- Probably related bug: bug 440297

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to