It's worth exploring options to preserve battery life before replacing your battery outright. Generating a battery health report on your Windows laptop is one way to see if you may need a battery ...
I didn't think I'd care this much about a command, but here we are.