I just bought my new laptop (Huawei D15) and thought about keeping the battery healthy for longer period. Almost everywhere it is adviced to follow The 80/40 rule where you plug in when it's 40% and unplug when 80%.
My question is, how can I maintain that other than looking at the battery...