Bioelectrochemical Systems for Measuring Microbial Cellular Functions