Today I got fed up having to manually enable / disable charging for my librem5 and made a little tool to automate this based on battery %.
For anyone interested in this tool for #LinuxMobile : https://gitlab.com/j0dev/golang/chargecontrol
I normally have my phone connected to the charger when at my desk at home or work and don't want to constantly charge / discharge my battery.