Or set the phone to never charge above 80%
Thta said, keeping it on charger for months will eventually swell its battery, true.