My phone will randomly die, is there a way to fix it?

I have an iphone 6S and sometimes it will just shut off when i still have half of my battery life left..
Go to this page and enter your iPhone serial number and see if your phone is eligible for Apple's battery replacement program for the iPhone 6s.

https://www.apple.com/support/iphone6s-unexpectedshutdown/#mn_p

Original thread: https://forums.imore.com/threads/my-phone-will-randomly-die-is-there-a-way-to-fix-it.379455/