Assuming that the effective lighting time of a 12V5W solar panel is 4 hours per day, the electricity generated is 5W
/12V
*4h =1.67ah,
1.67/0.8≈2.1ah. If you want to fully charge it in one day, use a 2 Ah battery. If you want to fully charge it in two to three days, use a 5 to 6 Ah battery.