Batteries in smart keys usually last between 1 to 2 years. Unusually short battery life may be caused by electromagnetic interference. Avoid keeping your smart key near other electronic devices such as phones, laptops and other screens.
Whereas some size change is perfectly normal, it should not be overly pronounced. If so, replace the battery immediately. A bulging coin battery may lead to device malfunction and even short-circuiting.