Default [Q] jiayu g4s trouble charging phone on....please help

Who can help me, i have got a problem with my phone. I cannot charge it when its on, but when its off i can. Please help! Really strange, could it be battery related? Also the battery status goes way of from time to time. Could the battery be faulty? Thanxs!