Replaces highly volatile organic liquid electrolytes in lithium-ion batteries with advanced polymers that enable improved safety and performance. Utilizes a new solid and nonflammable electrolyte in batteries made from crystalline resins (polyester ether ketone, polyphenylene oxide, polysulfone, etc.). Conventional batteries use electrolytes from a solvent-based lithium salt solution that are highly flammable. This new electrolyte can be integrated into existing battery designs. This electrolyte also lowers costs as it acts as both a separator and an ion conductor, eliminating the need for a separator film. Since this electrolyte can also withstand high heat (nonflammable), it lowers cost further as it reduces the need for intensive cooling and management systems.