Iphone turns off when unplugged
Hello. Whenever i unplug my phone from the charger it turns off immediately and won't turn on until plugged again. And when i try to connect it to itunes it wont plug in the laptop and keeps on giving the apple logo then turning off. What should i do? How do i fix this problem? The battery capacity in settings shows 100%
iPhone 7 Plus