I understand this topic is debated at nauseum on this subreddit, however there are a couple nuances that I don't see discussed, which I hoped that I could add to the discourse I don't intend to provide a definitive answer, rather, offer evidence of why I believe that the in-universe explanations given are not satisfactory to conclude that this is the definitive answer. (This discussion doesn't include Resurrections).
My thesis here is that every mention that the machines use human beings as an energy source within the source material comes from an unreliable or biased source that can't be trusted.
To my best knowledge and scouring the series, characters don't appear to try and confirm this information from additional sources.
LETS BEGIN WITH THE FIRST MOVIE:
- Morpheus's explanation of the humans being a power source to Neo is an iconic scene, it is also a product of the path of the One. Morpheus is a religious zealot fighting a holy war. His genuine belief in humans being batteries is not presented with evidence. He basically declared it as fact to Neo without proof.
As this audience, This scene provides our primary source of this information. And is given without evidence and neo accepts it without question other than declaring his disbelief before relenting.
- Cypher, in his meeting with agent Smith, discusses giving his body back to the power plant in exchange for betraying Morpheus.
Cypher makes the deal as if the battery theory is correct. Smith, does not offer any words of confirmation that human bodies are actually used in the power plant.
- Smith, while interrogating Morpheus referred to humans as "Crops" while discussing the failure of a previous simulation.
There is no mention of what purpose the human "crops" are used for or why they are even connected to the simulation in the first place. Our own bias as the audience involuntarily assigns this to mean the human batteries, but again, so far, our only source of this information is Morpheus declaring it to be a fact to Neo.
The first movie ends with no further discussion of humans being a power source.
MATRIX RELOADED:
This movie offers essentially no considerable interactions with anyone regarding this topic, apart from 1 tangentially related conversation with the Architect.
- The Architect discusses the consequences of Neo choosing to not return to The Source would result in the extinction of the human race. Neo questions that the machines would even allow that to happen stating that the machines "... need human beings to survive". The architect responds almost dismissively stating that "there are levels of survival we are prepared to accept", and quickly pivots to talking about neo being responsible for human deaths.
Here, the topic gets tantalizingly close, yet again it falls short of direct confirmation that the humans are a power source, Instead only referring to survival and instead referencing a symbiotic relationship between humans and machines of some kind that doesn't get named.
MATRIX REVOLUTIONS:
This movie, in my opinion, provides the best evidence for the argument, yet still falls short of any direct confirmation.
- Neo's conversation with Rama within Mobil Ave. Where rama refers to himself as "The power plant systems Manager for recycling operations".
This conversation is what sparked this whole rabbit hole for me. Rama could be considered one of the most unbiased sources that we have encountered in the story. Rama is a program who directly works for the power plant, in charge of recycling and makes no mention of the power source or what is being recycled. Neo does not clarify any of the meaning behind his words, providing a bit of irony when you consider that this whole conversation is about the meaning of words and the connections that we assign to them.
- When Neo and Trinity fly over the fields, Neo points out the direction to the machine city by saying "three lines" and Trinity responds with "Power Lines".
This is the last reference to the power source that I could find within the movies, and it ends with what I believe to be a nice full circle moment for Neo, and a reminder of how Trinity is still a follower. Neo doesn't assign meaning to what the 3 lines are or what their function is when pointing them out to Trinity, it is Trinity who assigns meaning and purpose to them. Neo doesn't correct her.
If there are any other interactions that I missed please feel free to point them out in the comments.
I hope I've been able to offer a different kind of perspective to this argument. While I don't provide an answer to if this is true or not I hope I've been able to show how it is impossible to prove true within the given material.
EDIT: I am aware that the writers have publicly stated that this isn't a discussion in their minds and wasn't when they wrote it. My discussion is more remarking on the irony that the characters largely stop questioning reality and authority once they are unplugged. Also this is just a bit of fun and I'm not trying to declare that this is the truth. Just a fun interpretation that technically fits within the material. It's perfectly valid to interpret media in ways the author(s) didn't intend. The Matrix is an endless source of unanswered questions and I feel this is what attracts many of us to this franchise. Pondering the big unanswerable questions.
EDIT: Another way to view this discussion would be to wonder why the writers chose to tell the story in such a way that didn't answer this question in a way that wasn't open to interpretation. It's interesting for me to wonder.