One embodiment includes a liquid-metal alloy negative electrode for a lithium-ion battery. The electrode may also include a porous matrix that comprises a polymer matrix material, a hydrogel material, or a ceramic material.