-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLP in LG Gram stops working after upgrade to version 1.6 #708
Comments
The intended battery care plugin for your constellation is lg-legacy. Why it is not invoked in your case we have to find out. I will check my code, whether I notice something. Please add the output of
|
Rationale: if either the standard attributes charge_control_start/end_threshold do not exist or contain a '0' value, then lg-legacy may apply. Reference: * #708
I have found something. Please test the new packages from here. Show
|
Yes, the patch worked :) Below requested outputs with working patch:
|
Rationale: if either the standard attributes charge_control_start/end_threshold do not exist or contain a '0' value, then lg-legacy may apply. Reference: * #708
Great. Thanks for reporting this. |
I just released TLP 1.6.1. PPA packages are on the way. |
[x] I've read and accepted the Bug Reporting Howto
[x] I've provided all required
tlp-stat
outputs via Gist (see below)Describe the bug
Since new 1.6 version in LG Gram laptop shows an error when trying
tlp setcharge
ortlp fullcharge
: "Error: battery charge thresholds not available." and/sys/devices/platform/lg-laptop/battery_care_limit
value is not written.Expected behavior
/sys/devices/platform/lg-laptop/battery_care_limit
to be written when executing tlp commandsTo Reproduce
Additional context
I cannot downgrade to previous TLP version. Repository only shows newest version (1.6.0-2) and maximum version in Ubuntu repository is 1.3.1-2 version and support was only added for version 1.4.
My previous working version was 1.5.0-2.
Checking TLP documentation for LG it says that Kernel 5.18 and newer uses
charge_control_end_threshold
attribute instead ofbattery_care_limit
, however kernel version is 5.15 and/sys/class/power_supply/CMB0/
directory doesn't contain any file related to charge control:The text was updated successfully, but these errors were encountered: