Iphone 6 plus not getting past the apple logo while charging?

I have an iphone 6 plus that I stopped using for about a year now. I'm trying to switch back to it but it is completely dead. I put it on the charger and it says it is charging and every 10 or so minutes the apple logo will come on and then it goes back to the charging screen it shows when a iphone is dead. Is there any fix to this considering there was no problems before I stopped using this iphone?

Its probaly very drained the battery and will take some time before it charges any. Let it charge for a good day then see how it does. Also try cleaning the charge port with can of air in case dust or lint stopping it from charging correctly