sunlight sensor

Wawa:
Post#4.
Adjust the burden resistor for full sun. Then you still have a 1:1000 ratio with a common 10-bit Arduino.
Could be 0.1mA to 100mA then.

You still seem to not have got the catch. I am not alone with my thinking:
Logarithmic light sensor

"This GA1A12S202 based sensor breakout is a big step-up from the basic CdS photo-cell.
The biggest improvement over plain photocells is a true log-lin relationship with light levels.
Most light sensors have a linear relationship with light levels, which means that they're not
very sensitive to changes in darkened areas and 'max' out very easily when there's a lot of
light. Sometimes you can tweak a resistor to make them better in dark or bright light but its
hard to get good performance at both ends."

If your solar cell is frequently only lit by diffuse light, you will operate in the lower 5% of the scale, where the delivered power is in the same range as the device consumption. Every mA is important.
With a linear scale, you will get steps of ~20% of the actual current. These errors will accumulate over time.

On the other side in bright sun +- 0,1mA will not be relevant. That is what makes the logarithmic scale so sexy.