I might add. If the thing is a few years old, and you’re sure you have the tech skills to open up your machine, you can get a new battery extremely cheaply in most cases.
A lot of times replacing it is as easy as unplugging the old one and plugging the new one in.
macbook pro battery is very easy to replace. 8-10 small screws and unplug the battery and plug the new one i