Chosen Solution

Recently I updated my iphone 5s from ios 9.3.5 to ios 11. After updating my battery indicator was not working properly and after few hours I noticed that my iphone is restarting every 7-8 minutes with black screen having verticle lines then followed by apple logo and lockscreen

Did you do an update via Software Update in the settings app? If yes try doing a restore via iTunes which completely reflashes the firmware on the phone. You’ll need to backup your data first before doing so though as it’ll wipe data.