I saw something pretty darned cool here a few months back that solved much of this question: someone had developed a Corney mod that used an extra, straight SS down tube coupled to the lid through a gas-tight fitting, that had a series of donut shaped floats (3, iirc) with magnets within, positioned on the tube such that when each one was floating at the top of its range it held a corresponding magnetic reed switch closed.
Said down tube then had the wiring for the reed switches daisy chained through series resistors, so that each switch closed lowered the total resistance (presumably, all three switches closed with a full keg provided near-zero total resistance). The output of the assembly traveled to a detector board that had differential comparitors that would determine whether the keg was full, or 2/3rds full, or 1/3rd full, or less than 1/3rd full.
As an engineer, I thought the whole thing was freakin' epic!
Cheers!