Solar charging protector circuit