Self-healing energy techniques