The car monitors & charges the 12V system battery frequently, whatever the status of the doors.
Its never fully charged, so this 'trickle' charge may happen every few hours or every few days, depending upon the 'draw' on the battery; in practice, if you keep it in a wake state, charging is...