I found the solution for battery plugged in not charging.
Sometimes you’re getting a error “plugged in, not charging” message from your laptop battery. The error ‘plugged in not charging’ can be caused due to various reasons such as faulty adapter or faulty charging board. The cause for this error may be power management software that become corrupt. There may be problem with BIOS update or some other unknown cause.
BIOS update Uninstall and Reinstall Power Management Software Update battery Driver Miscellaneous solution