I have a Lenovo Ideapad Flex 5i running a 10th gen Intel i5, I tried using TLP to set the battery charging limit to 80 but it always went over 80, but I did this using the TLPUI, where it mentioned that it was for Thinkpads, but I assumed that it should work in general. Is there any way to limit battery charging at all ?

  • edent@lemmy.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Do you have a setting in your BIOS/UEFI to do that? That’s how I limit my battery on Pop.

    • RGBTinkerman@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Unfortunately I don’t see any settings in the BIOS/UEFI for it, previously when I ran windows 11, I was able to do it with Lenovo Vantage which was a windows only software, Windows 11 was really slow and laggy so that was why I switched out of it.

  • wintermute@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    check

    cat /sys/class/power_supply/BAT0/charge_start_threshold

    and

    cat /sys/class/power_supply/BAT0/charge_stop_threshold

    i.e.

    echo 45 > /sys/class/power_supply/BAT0/charge_start_threshold
    echo 75 > /sys/class/power_supply/BAT0/charge_stop_threshold

    • RGBTinkerman@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Hi, thanks for replying ! when I ran, " cat /sys/class/power_supply/BAT0/charge_start_threshold" it turned “cat: /sys/class/power_supply/BAT0/charge_start_threshold: No such file or directory”

    • RGBTinkerman@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Also when I did “echo 45 > /sys/class/power_supply/BAT0/charge_start_threshold” in sudo, it said "bash: /sys/class/power_supply/BAT0/charge_start_threshold: Permission denied "