TECHNOLOGY FOCUS - POLYMERS - Preferred Composition: The electrolyte composition comprises (wt.%): nitrogen-containing compound (0.1-5), propane sultone (0.05-2), vinylene carbonate and/or cyclohexylbenzene (0.25-6, preferably 0.25-3), and epoxy-containing compound (0.02-1.5).Preferred Compound: The nitrogen-containing compound is from primary amine, secondary amine, tertiary amine, and a polymer, a copolymer, and an oligomer of these amines.Preferred Component: The electrolyte composition comprises an epoxy-containing compound. The lithium battery comprises a gel polymer electrolyte between the anode and cathode, and obtained by gelating the electrolyte composition.Preferred Method: The method comprises heating the container at 30-130degreesC, after the sealing to gelate the electrolyte composition.    TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Compound: The primary amine, secondary amine, and tertiary amine are a compound(s) from a 6-component aromatic heterocyclic compound, a 5-component fused aromatic heterocyclic compound, and an aromatic or non-aromatic secondary or tertiary amine. They are from a compound(s) consisting of pyridine, pyridazine, pyrimidine, pyrazine, triazine, triazole, thiazole, thiadiazole, or a compound containing a nitrogen atom(s) and at least 5C.    TECHNOLOGY FOCUS - INORGANIC CHEMISTRY - Preferred Compound: The lithium salt is from lithium phosphorus hexafluoride, lithium arsenic hexafluoride, lithium chlorine oxide (LiClO4), lithium nitrogen (ditrifluoromethyl sulfur oxide) (LiN(CF3SO2)2), lithium boron tetrafluoride, LiCF3SO3, or lithium antimony hexafluoride.Preferred Parameter: The concentration of the lithium salt in the organic solvent ranges 0.5-2.0 M. EXAMPLE - Poly(2-vinylpyridine-co-styrene) (2 g), 1,4-butandiol diglycidylether (0.5 g), and cyclohexylbenzene (CHB) were dissolved in a 1 M lithium phosphorus hexafluoride-containing solvent mixture of ethylene carbonate, diethylene carbonate, and propylene carbonate, to prepare an electrolyte precursor solution. The amount of propane sultone, vinylene carbonate, and/or CHB was (wt.%): 0.5/1.0/2.0.