I don't think clouds will be an issue for solar power once panels become highly efficient. The problem we will have is storing the power, we need better batteries. Solar power should be able to give a surplus given a good day of sunlight. If we can store it efficiently, a few days of cloud cover shouldn't hinder power supplies. Maybe the answer is to use solar power to make hydrogen fuel from water and then somehow store that.