The entire Texas grid could be destabilized if just 5.4% of the batteries were compromised.