cant propperly switch on or charge my iphone

hi i was wondering if anyone could help...
when i try to turn my phone on the small apple symbol appears for 15 secs or so then the phone cuts off again, the same problem occurs when i try charge the phone, the symbol appears then it cuts off.
i done a phone reset since then this problem has occured?
contact apple
Have you tried syncing the phone thru iTunes since you reset it? I would try that next and: 1. see if any error messages come, and
2. See if the phone responds any differently once the sync completes.
If not, then call Apple.
Can you put it into DFU mode? If you can't, then contact Apple.
happened to my phone as well

just let it charge for sm time.. cpl of hours.. to make sure the battery is full and then try shift restoring it.. happens if u delete sm imp files while ssh-ing into ur system

Original thread: https://forums.imore.com/threads/cant-propperly-switch-on-or-charge-my-iphone.182241/