Operation of energy storage mechanism for electrical equipment