Systems, devices, and methods are provided for sensing gas bubbles within a liquid flow line, such as within a medical device. The systems, devices, and methods can measure a change in capacitance across a pair of conductive plates to calculate a volume of gas in a flow line. If a calculated volume of gas exceeds an established threshold, an alert can be sent and/or changes made to operation of the device.