Maintaining energy storage and energy storage charging piles