I am sorry, I just noticed that you deed indeed provide a state - COLORADO. My apologies about that.
This is a rather unique situation. Technically, someone in your situation was indeed trespassing on the property, and also stealing electricity - something that the owner of the property would have had to pay for.
However, this may be likely dismissed. For the theft charge, one can simply explain that the cord was faulty. As for the trespass charge, I am going to assume that you have no priors. Once the Prosecutor sees the situation, the matter will very likely be dismissed, or at the very least a plea deal would be struck.
NOTE that the first hearing is not the last. At the first hearing, one simply makes a plea (not guilty if one wants to not admit to anything), and then the matter will be reset at least once or twice to allow for negotiation. At this time, one's attorney will negotiate with the prosecutor to possibly have the case dismissed. But counsel should be used for best results.
I hope this helps and clarifies. Please use the SEND or REPLY button to keep chatting, or please RATE when finished. You may always ask follow ups at no charge after rating. Kindly rate my answer as one of TOP THREE FACES/STARS and then SUBMIT, as this is how I get credit for my time with you. Rating my answer the bottom two faces/stars or failing to submit the rating does not give me credit and reflects poorly on me, even if my answer is correct. I work very hard to formulate an informative and honest answer for you; please reciprocate my good faith with a positive rating.