Text this: A viologen-based conductive hydrogel enables iontophoresis devices powered by Mg biobattery.