Usb-c to HDMI charge issue

When I connect laptop to tv via usb-c to HDMI cable laptop stops charging through original charger, even if red led is working. When I connect laptop via mini HDMI, everything works well.