Solved! my laptop is shown as 'plugged in but not charging' , and the battery percentage is decreasing within seconds please help

Apr 1, 2018
1
0
10
my laptop is showing 'plugged in , not charging ' once it is kept on charge and the battery percentage is decreasing on a large scale within seconds.please help