Charging
Charge and control end threshold
When docked, update /sys/class/power_supply/BAT0/charge_control_end_threshold to stop charging at some threshold. This prevents the battery from constantly staying at 100%.
There is also a Gnome extension available.