Modern portable devices and electric vehicles are increasingly demanding high-performance, high-energy density storage materials with fast rechargeable capabilities. So far, lithium-ion batteries (LIBs) have been the fundamental energy source of those devices due to the high energy-density and power-density. However, the lack of Li sources, high production cost, and safety issues are significant drawbacks of LIBs. To address these issues, a vast amount of research has been carried out to find alternative energy carriers for rechargeable batteries . Among various types of ions, Mg ions attracted enormous attention due to their bivalency which offers high energy-density. The cost of production of energy storage can also be reduced by utilizing Mg because of its high abundance .