How to detect the power of solar panels