It only runs when needed, when the 12-volt battery reaches a lower state of charge because it would otherwise drain power from the high-voltage battery all the time. In most EVs, if you leave them ...
Battery-Electric ... six hours to charge its ECR25 Electric excavator from empty to full and 12 hours to charge the L25 wheel loader from empty to full with the 240-volt Level 2 charging setup.