How can I keep my MBP's battery from charging without removing it?
I do not know of any software solution, but there is a hardware solution.

Use a piece of tape and cover the middle pin on the Magsafe plug.