Seems simple enough. Combine a solar PV module, battery, and DC light. Works at first.
You will not be happy unless the components are selected for the intended (and actual) load
(such as a light), its use, and the location (sunshine varies as well as the sun position).
The weak link is the battery. Batteries can be damaged by under charging (not enough charge
during the day to make up for useage), over charging, and by not selecting the correct battery.
To help ensure long battery life, use a battery charge controller that will prevent over
charging and limit damage caused by under-charging by disconnecting the light. Even this is
not enough to prevent battery damage due a light left on. That will cause the battery to cycle
from low to partial statesof charge and this is damaging to a battery. Better to use some sort
of timer switch.
The selection of battery size and PV module size is not simple. First determine the daily
energy required in watt-hours per day (lamp watts x hours of operation) or ampere-hours per day
(lamp amps x hours of operation) for the time of year with the lowest available sunshine. If
load varies by month, do it for each month (spreadsheets help). Add 15-205 safety factor for
battery efficiency and safety of design, err on the high side. Then select a battery that
has a capacity at least 5 times this amount (easier to do if calculation is in amp-hr).
You can make a rough calculation of ampere-hours by dividing the watt-hours by the nominal
battery voltage.
Now you need PV module data in the form of rated watts or amps at maximum power voltage, and
sunshine data reduced to the form of kW-hr/m^2 per day for your location. Google this,
I do not have my references with me. You want the sunshine on a surface tilted towards the
equator at a tilt equal to latitude for a lighting load.
Available kW-hr/m^2 per day x module(s) amps at maximum power voltage = available amp-hr/day.
Compare to requirements.
The problem is that excessive PV on a system has no extra value, too little fails and damages
the battery. One size fitts all generally fits no one well. Consult a local PV dealer if
possible, or see what has worked well for others in your area.