Question: how to know if your iphone needs a new battery?
Answer: Go to Settings > Battery. Tap on Battery Health. You will see what the 'maximum capacity' of you battery is - this is a measure of your battery capacity relative to when the battery was new. ...  Below that is an indication of the battery's 'Peak Performance Capacity'.