That is true, but you equate consciousness to electrical activity. If electrical activity is present, where is the consciousness, for a comatose person? If the electrical activity related to consciousness is not present, which you must admit if a person under the knife is not conscious, where is the consciousness? I believe most people associate spirit with the "person". A "total" description of the "being". Program might be analogous. It is inferred from the conscious being. But not wearing a scarf on my head and peering into a crystal ball I am not an expert on spirits, not even the kind that comes in bottles.
No, I don't "equate" them. I say only that there is evidence of electrical activity and this is associated with consciousness. That's all I said, and frankly, it's all I know. But this is sufficient to make consciousness different from "spirit" which provides us with no objective evidence of its existence.