Generally, Apple issues security updates for two generations after ending support for the latest version ... to have it repaired for free. Apple does have a battery replacement service though ...