Around a quarter of the ferry crossings in Norway are electrified. Usually there's one or two electric ferries and one diesel ferry. They charge while unloading and loading and during the night when there's fewer crossings. Before they had to take breaks during the day to charge, but now days I think they run all day.