The vehicle has a battery saver feature designed to protect the vehicle's battery.
When any interior lamp is left on and the ignition is turned off, the battery rundown protection system automatically turns the lamp off after 20 minutes.
This prevents draining of the battery.
Chevrolet Cobalt Service & Repair Manual. Valve Cover Gasket R&R
1.
Remove the intake manifold cover.
2.
Remove the air cleaner outlet duct.
3.
Disconnect the intake (3) and exhaust
(2) camshaft position actuator solenoid valve electrical connectors,
Fig. 1.
...