I don't believe leaving it plugged in would cause a trouble code (I shudder at your next power bill though).
You can swing by Autozone and they will use a code reader for free to find the code. You can then take the code and look it up on the net if they don't give you a description of it. It could be anything from loose gas cap to stuck thermostat.
__________________
|