Hydrogen-powered nanobatteries can revolutionize electronics.