refactor: cleanup getLimitFromChargingProfiles() helper return type