Keeping a lithium battery between roughly 20% and 80% can help it last longer.
The last 20% charges slowly because the battery switches from fast constant-current charging to safer constant-voltage charging, gradually reducing the current to prevent overheating and damage.