Home Education Small, fast, and highly energy-efficient memory device inspired by lithium-ion batteries