Lenovo and other manufacturers provides configuration app to limit State of Charge for battery over a decade ago. Apple just implemented similar feature (but automatic) in 2020. Without that, battery is unnecessary degrading while plugged into AC with 100% SOC.