What determines the amount of current which will flow through a battery while it is being charged by a constant voltage source?