No, use Class C extinguishers for electrical fires. Don't use water as it can lead to electrocution and the fire won't be fully extinguished.