why my iphone shut down after few minutes

when I switch my phone even when fully charged , it shut down in minute and all the battery is drained.
Welcome to iMore! How old is your iPhone? It's possible that your battery has simply reached the end of its useful life. Apple's iPhone batteries are designed to retain 80% of their original capacity for 500 full charge cycles. After that you're on borrowed time.

Regardless, I suggest bring your iPhone into an Apple Store, contacting Apple Support, or taking it into a reputable repair shop for servicing.

Original thread: https://forums.imore.com/threads/why-my-iphone-shut-down-after-few-minutes.376653/