Hi there Mehmet, thanks for your question.
Here's step-by-step instructions to fix your battery that's not charging:
https://www.cnet.com/how-to/how-to-fix-a-window...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Otherwise, I would see if the troubleshooter fixes the issue. Click Start and type "troubleshoot" then select the first result. Scroll down and choose Power. It may resolve the problem itself.
If that doesn't work, try removing your battery after your computer is switched off, then plugging it back in. It may fix the issue.
Hopefully that helps! Please let me know if you need more assistance. Thanks!