How to count solar energy as charging