I just experienced this yesterday.I flashed cm11 2 days ago,and if
im not wrong,i didnt had this problem before.Btw,if it is a hardware problem in my case,i will not give to service (still have warranty) because i dont know if they replace something good with something bad...I will flash PA today and i will see if probem persist.
PS: in the past i used a ZTE charger and now im using charger of galaxy y because my charger cable is broke (my parrot did it !!!
) and i didnt have this problem before.