Yeah that can definitely happen wrt energy management. P2 currently has solutions to address immobility due to other causes, but lack of energy to the point of not being able to do anything is a more complicated problem to solve and doesn't come into play very often. I could look into at least trying to have them shut something off in hopes of actually reaching a power source, but in general once your energy is insufficient, it cascades into a rather large number of issues.
Sometimes you can also check their gear and try to give them parts to help out. (And also consider their build in advance and try to leave certain parts for them to begin with, or basically don't be stingy with your own spares
)
It's a fun mode, one which I'll be playing again, too
Technically not a bug, though, since that's just how the AI works. They can occasionally (usually fairly rare) get in situations they're simply not equipped to solve and require an external catalyst to be able to continue on. The Player AI will always have these deficiencies.