Last fall, my laptop started having problems charging. It would be plugged in, but not recognize it unless I played with the cord for ages. It would also 'flicker', kind of. It would register as charging for a few seconds, then as 'plugged in/not charging' for a few more, then switch again. I replaced the lt cord, and it seemed to fix it no problem.

But this week it started doing the same thing again, and escellated to the point where now it won't charge at all. I have an hour of power left. Any suggestions? If the problem was the cord, what are the odds that the new one would have the same problem. But if it isn't the cord, then why did a new cord help?

Eta- my laptop is a year and a half old, and the battery can't be removed. It's a samsung.6