Most of these systems work on a tightening of the tension on the film, because the camera has no way of knowing if you've put in a roll of 24, 36, 27 (older Agfa emulsions were sold as 24 + 3) or some custom load.
So, the camera senses the "end" of the roll simply by the amount of tension or resistance in the film advance.
Perhaps, the roll that you have might have a slightly tighter lip or felt seal. Or it could be that the spool is dragging a bit because the metal end caps are slightly tighter than normal or are slightly out of round. Or maybe it's a slightly thicker emulsion with that batch. Or it could be the fact that it's a roll of 36. Or who knows?
The short version is that it could be that the film isn't coming out of the cassette smoothly, and the camera is taking that to mean that it's at the end of the roll.
I would try it with a different roll, perhaps a roll of 24. See if it works OK.
Maybe the drive system in the camera is slightly gummed up, so a small amount of resistance is read as the end of the roll. Or maybe it has to do with the batteries. Without actually seeing the camera, there are too many variables.
But I would start with trying a new roll of film and a shorter length (24 exposures).
If you don't want to waste the film that's in there now, unload the camera in a changing bag or a dark closet or at night. Wind it by hand back into the cassette, and use it in a different camera.