Charge/discharge to network should be equal (as principle in expnantions)
Technically, you have a connection to the grid which is limited by the charger. From the grid to the chemical energy, there is a conversion implying efficiency and losses. But what you limit in reality is the cable connected to grid.