1. How is the value read? Is it reading the leak?
2. How is recharging done? I guess the leak itself (assuming my guess in 1. holds) could provide charge for some logic that checks "if has charge then recharge else nop".
I still don't really get transistors :P, but this was cool.