I have tried my luck with portable solar panels, and my conclusion is that in most cases, they suck.
For a solar panel to be useful you need:
- At least a few days without access to electricity, otherwise even at max power, you won't get as much charge as a similarly sized power bank
- Good sunlight, preferably in the summer (more daylight)
- No shade, which is the opposite of what you want in hot and sunny summer days
- Correct placement for your solar panel, for example, having it hanging from your backpack will only work if you have the sun in your back
- A large enough solar panel, these tiny panels you sometimes find on power banks are useless
- Compatible devices. Solar panels have a variable power output, not all devices support it, some of them just shut down charging. Your best bet is to use a compatible power bank, but that information is not often specified. Test it beforehand!
My experience with a solar panel is from two week-long music festivals in the summer, which would be almost ideal conditions. My experience was that over the course of a week, I got about the charge equivalent of a 10Ah battery from my solar panel (rated 10W, 300g), so about half the efficiency of that gummy bear battery, for the reasons cited earlier. Maybe I could have done better with a better panel and better planning, but I'd rather have a battery, much more convenient, and cheaper too. I want to enjoy the festival, not babysit my solar panel.
So I'd say you need at least a week without electricity in the best conditions to make a solar panel worth it, preferably more, which I believe is rather uncommon.
Also, I am talking about these portable <1kg solar panels. The large solar panels that go in your car/van are another story.