That will do it. However this never fixes a bum battery. In fact if you have a bum battery said battery can fry the charging circuits. I've seen people futz and fume over a many year old battery to the point they have fried the circuit on the mainboard and instead of the (now cheap) battery they are paying for a new mainboard and a battery.
is there any utility/software that can charge/discharge a laptop battery?? thanx