Unable to set battery charge limit

appologies for not including it in my response. I was at work and didn’t get a chance to do this. I also tried changing the value to 100. it still stays at 0. the same for other settings

[chris@gramC ~]$ echo '1' | sudo tee /sys/devices/platform/lg-laptop/fn_lock
[sudo] password for chris: 
1
[chris@gramC ~]$ cat /sys/devices/platform/lg-laptop/fn_lock
0
[chris@gramC ~]$ echo '100' | sudo tee /sys/devices/platform/lg-laptop/battery_care_limit
100
[chris@gramC ~]$ cat /sys/devices/platform/lg-laptop/battery_care_limit
0
[chris@gramC ~]$ lsmod | grep lg_laptop
lg_laptop              32768  0
sparse_keymap          12288  1 lg_laptop
wmi                    36864  3 video,lg_laptop,wmi_bmof

Then try to compare logs with relevant Manjaro logs. It seems EnOS cannot modify your firmware settings, while Manjaro can. Not much sense, but that seems the case here :man_shrugging: .

Looks like it might be related to this…

I also tried installing Arch directly and also had an issue there too.

https://lore.kernel.org/platform-driver-x86/bug-218901-215701@https.bugzilla.kernel.org%2F/T/

I don’t think that we are going to figure this out, particularly in light of the bug above. For the meantime I will go back to Manjaro for the time being. Thanks for the help!

It looks like the issue is related to an embedded controller in the laptop and is actually a bug in the BIOS. One of the kernel developers that has been helping me with this, will try to get this issue addressed with the maintainer of the ACPI EC driver that controls the two devices. Please see the ticket below for transparancy:

https://bugzilla.kernel.org/show_bug.cgi?id=219075

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.