linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

[Lenovo non-ThinkPad series] Support for battery conservation mode #393

Closed NicolasSchuler closed 2 years ago

NicolasSchuler commented 5 years ago

Lately I'm switched from Windows to Manjaro (Linux) with my Lenovo Yoga 720. In Windows the laptop was running the Lenovo Vantage Software, with this I could turn on the "battery conservation mode" on my Laptop. Now I've searched kind a like through the whole internet trying to find a solution for Linux. The closest thing also related to Lenovo is tlp. In the documentation it is well mentioned that this feature is only available on thinkpads, but nervertheless I've tried it out, with no success. It would be great if tlp would be able to enable the battery conservation mode on any Lenovo Laptop who can run the Lenovo Vantage Software with battery conservation mode option available.

linrunner commented 5 years ago

Thanks for your suggestion. This is not possible without a kernel driver, see FAQ.

whenov commented 3 years ago

It is possible with the ideapad_laptop driver now. On my laptop (Lenovo Legion 5), I can turn on the battery conservation mode by echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode.

linrunner commented 3 years ago

@whenov : thanks. Can you add the full output of

 tlp-stat 

for reference? Via https://gist.github.com/ please.

whenov commented 3 years ago

@linrunner Sure, here it is: https://gist.github.com/whenov/72069cfc2bcd8b3e76a67e9035b9ec68

linrunner commented 3 years ago

I would expect the file under /sys/devices/platform/ideapad_acpi/ also. May i see

ls -lR /sys/devices/platform/ideapad_acpi

(also via https://gist.github.com/)

whenov commented 3 years ago

@linrunner It appears I don't have this directory: https://gist.github.com/whenov/a4c783e930bea6b8c65459c7167221a1

linrunner commented 3 years ago

The wait is over: the stop charge threshold is implemented for 1.4.

Please participate in the alpha test. All necessary information is here.

Have fun.