Applications of energy storage devices