Solar-powered devices