IPhone 5c won't charge most of the times?

Sometimes it charges sometimes it doesn't. It also won't connect to my laptop. I've cleaned the port with a needle for lints and if have tried different charging box and wire. Last night it would charge but then early this morning it charged when i connect it my laptop. I restart it many times and also restored it but still don't work. What's wrong with it?

Did you try with another charger if other charger work means you have to buy new charger and let you know that do not buy cheap charger is gone work for few time and after is not gone work.best things is if you have worranty take it to iphone store.