How to determine whether the solar panel is charging