Charging problem Lenovo Y580

Mar 11, 2018
2
0
10
Hi,
Basically at some point my laptop stop charging. Previously i used my laptop as PC and battery was always removed, but about 1 month ago my laptop started cutting out power (just shutdown without any message, black screen and thats it). It happened when i was launching games, then it sometimes cut power on booting windows. So i figured that maybe something will change when i plug in battery. And it did. I dont get power cuts no more, because at those points when my laptop shutdown, now it only stop charging (going straight to battery mode), when i unplug and plug back in charger, everythings goes back normal. So the thing is: which part is faulty? Charger? And maybe someone know how to troubleshoot this kind of problem?
BTW Everything inside laptops totally clean, thermal compound is changed, drivers is up to date (i'm saying this so that no one will suggest offering these "solutions" :D )
Thank You