Energy storage maintenance