Solar cell double layer detection