Heltec V3 disable battery readings when no battery is present

Hi,
I’ve encountered a problem regarding Heltec v3 and battery monitoring on Meshtastic fw 2.2.23.5672e68.
I have no battery plugged in, I’m powering my module with just 3.3v and GND connected from an external voltage regulator. The regulator itself doesn’t seem to be the problem. The voltage is perfectly stable 3.32v.
However my module seems to go into deep sleep after a while.
I also checked it while connected via UART converter to my PC and in the logs I can see:

DEBUG | ??:??:?? 84 [Power] Battery: usbPower=0, isCharging=0, batMv=2763, batPct=0
DEBUG | ??:??:?? 84 [Power] Low voltage counter: 3/10

showing up from time to time. When the counter hits 11/10, the device goes into deep sleep.

However much more often the battery shows 0 and the counter is not incremented.
It seems to be checking battery every 20 seconds even if I don’t have battery connected.

DEBUG | 19:59:03 798 [Power] Battery: usbPower=0, isCharging=0, batMv=0, batPct=0

Is there a way to disable those periodic battery readings when I have no battery?