In the UK as I understand it there appear to be 3 main ways of charging and appropriate chargers:
1. Some have solar panels and home batteries (or parts thereof) where they are feeding in and out of the grid so have a whole efficient set up (cheaper, flexible etc).
2, Ohme (charger) and Octopus (Elec provider) have a set up where you plug your car in set how much charge you want and Octopus will charge the car through out the night as it sees fit and v cheap rates (up to 7,5p per KWh).
3. MG recommend Pod Point (charger), we were already with EDF (Elec supplier) - The Pod Point is set to restrict powering the car to the cheaper times set by EDF and you use the MG App to align with these times and charge level (8p KWh - 34+ during day).
Of course you can dangle a cable out the window.