Riding while being charged with a portable battery