Correctly recognize 2021 and 2022 models in a way that will hopefully be more future proof by excluding 2016 model strings, instead of including each year ofter 2019. Use /sys/class/power_supply/CMB0/charge_control_end_threshold to set battery charge limit to 80% (or reset to 100%). Leave a shadow of the file in the old location /sys/devices/platform/lg-laptop/battery_care_limit and warn about it being deprecated in the documentation. Matan Ziv-Av (2): lg-laptop: Recognize more models correctly lg-laptop: Move setting of battery charge limit to common location .../ABI/testing/sysfs-platform-lg-laptop | 2 +- .../admin-guide/laptops/lg-laptop.rst | 2 +- drivers/platform/x86/lg-laptop.c | 69 ++++++++++++++++--- 3 files changed, 63 insertions(+), 10 deletions(-) -- Matan.