My iPhone 5 and 6s both do this and I don't get why. Below 20% it sometimes drops down fast maybe 20%,14%,5% off in the space of a few minutes. Or it just turns off at 17% for example. I always let it drain below 20% before charging and charge it full before taking off charge... Any ideas why this is? It does get to 1% sometimes
