Conditions for Setting the DTC
WARNING: This page is about a different car, the 2010 Pontiac G5 and 2010 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
The SDM detects a short to ground or an open in the ignition voltage circuit for greater than 10 seconds when the ignition switch is in RUN or CRANK.