As the battery gets older it may start to require charging more frequently, hold charge less well, or even start to shut down your phone unexpectedly. Once your iPhone's battery passes the 500 complete charges point it's probably time for it to be replaced.