It's frustrating, but the fix can be simple.
https://www.howtogeek.com/laptop-is-plugged-in-but-not-charging/?utm_source=dlvr.it&utm_medium=blogger
https://www.howtogeek.com/laptop-is-plugged-in-but-not-charging/?utm_source=dlvr.it&utm_medium=blogger