According to Cree specs the XP-G2 has a forward voltage of 2.8V at 0.35A and 3.1V at 1.5A.

Generally you’ll have some sort of resistance or current regulation between the battery and LED to “burn off” the excess voltage (as heat).