For electronics that already have batteries and do not use that much, solar is an okay option.
With the cost and low efficiency and batteries, it's not that great of an off-grid option. Perhaps that will improve with better ways to store that energy.