Synthesis and characterizations of o-nitrochitosan based biopolymer electrolyte for electrochemical devices