Polyaniline (PANI) cathode voltage computed ab initio.
Functionalizations studied to improve voltage, reversible capacity.
Functionalizations identified to help access theoretical capacity reversibly.
Voltage can be increased up to 5 V by functionalizing PANI.