Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Framework bios (at least recent ones, but not original, so maybe OP hasn't updated) allow for a setting that, if the power is plugged in continuously, it won't fully charge the battery, even if your normal power limit is 100%.

Here is a knowledgebase article that goes into the details:

https://knowledgebase.frame.work/en_us/framework-laptop-13-b...



You can also control this from userspace. On Linux, use something like:

    echo 80 | doas tee /sys/class/power_supply/BAT0/charge_stop_threshold


Most likely called charge_control_end_threshold (only mention of the identifier you used is in thinkpad_acpi.c), and not available on nearly all hardware.

https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-c...


You can manually specify a fixed maximum, which was available from 3.04 (which was the BIOS I had back in late 2022 when I got mine).

One interesting note in the new functionality is that charging will let the battery drain by some percent before recharging.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: