Re: LG laptop driver not working on recent models

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 9/21/20 10:18 AM, Barnabás Pőcze wrote:
Hi

[...]

Assuming I have got this right, then now a days we have
a standard power_supply class sysfs attribute for this,
charge_start_threshold .

Or maybe I got it wrong and the battery_care_limit means
never charge above that value? Then the new standard
power_supply class sysfs attribute would be
charge_stop_threshold.
[...]

A small note, as per Documentation/ABI/testing/sysfs-class-power, the attributes
are charge_control_{start,end}_threshold. The charge_{start,stop}_threshold
attributes have only ever been used in the thinkpad_acpi driver (as far as I know).
And it has been extended not so long ago to use the "new" attributes.

Ah, I'm running 5.8 on a Thinkpad and I did not know the thinkpad
driver (initially) used non standard sysfs-attribute names thank you
for the correction.

Regards,

Hans




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux