Triboelectrification based active sensor for liquid flow and bubble detetecting