How to test whether solar energy is charging