A rechargeable solid-state proton battery with an intercalating cathode and an anode containing a hydrogen-storage material