You are not logged in.

#1 2026-05-24 02:35:17

ThePainTester
Member
Registered: 2026-05-24
Posts: 2

[SOLVED] Battery charge limit for Lenovo Legion

Hello
I have a Legion 5 15IAH7H
Currently I can't find "charge_control_end_threshold" file inside "/sys/class/power_supply/BAT0/"
Does that mean that my laptop doesn't support it? Can I add the file to the directory using "tmpfiles.d" at boot or if it is not there then I can't?
And if that's the case is there any other way that I could achieve this?
Thanks.

Last edited by ThePainTester (2026-05-25 04:19:26)

Offline

#2 2026-05-24 07:12:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,841

Re: [SOLVED] Battery charge limit for Lenovo Legion

https://wiki.archlinux.org/title/Laptop … ation_mode ?

Can I add the file to the directory using "tmpfiles.d" at boot

sysfs is a pseudo-fs, you're actually configuring the kernel/modules this way - even if you managed to add a file there it would be utterly pointless and not do anything.

Offline

#3 2026-05-24 13:46:51

ThePainTester
Member
Registered: 2026-05-24
Posts: 2

Re: [SOLVED] Battery charge limit for Lenovo Legion

Okay this might seem as a very noob question. I checked loaded modules and "ideapad_laptop" is loaded, that means I can follow the guide you sent.
But my laptop is a Legion not Ideapad, is this a mismatch or this is normal? I asked AI and it said that ideapad_laptop is for all Lenovo laptops that was first made for ideapad and expanded and renaming kernel modules is hard.

Also the guide you sent says that charging will be limited to "50-60%", so am I stuck with that preset as long as I don't have the "/sys/class/power_supply/BAT0/charge_control_end_threshold" exposed? Or is there a way to control the limit percentage?

Thanks for your time.

Last edited by ThePainTester (2026-05-24 13:51:30)

Offline

#4 2026-05-24 14:09:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,841

Re: [SOLVED] Battery charge limit for Lenovo Legion

But my laptop is a Legion not Ideapad, is this a mismatch or this is normal?

Legion is a derivative/rebrand of an Ideapad branch, they're all Lenovo consumer hardware.

am I stuck with that preset as long as I don't have the "/sys/class/power_supply/BAT0/charge_control_end_threshold" exposed?

Yes, unless there're actually two batteries

ls -lRH /sys/class/power_supply/*

Does the conservation_mode setting work?
If sol and in general please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB