Lithium-ion based batteries age faster at charging levels below 20% and above 80%. Ideally, staying within these limits and avoiding complete charging/discharging cycles should be completely automatic Unfortunately, smartphones do not have the ability to stop charging without being unplugged.