Direction of current flow in a battery