The World Bank has announced a partnership with its African counterpart that aims to provide at least 300 million people in the continent with electricity by the end of the decade.