I've got a Logitech (non-folding) solar-powered keyboard. Happy to report it's been working for nearly a year now using that delicious sun energy.
Being a sceptic, I did also put it in a sock drawer for a few days after use to see if it would fail to charge. It failed to turn on after that until I'd left it in the sun for a while.