The present disclosure provides a method for filtering in a cordless
electrical device. The method may include coupling a filter network, a
microcontroller and a plurality of battery cells having a cell voltage
and a current. The method may further include operatively connecting at
least one switched capacitor low-pass filter to the plurality of battery
cells, the at least one switched capacitor low-pass filter configured to
receive a signal from the filter network. The method may also include
filtering the signal from the filter network, delivering a filtered
signal input to an ADC and generating an output from the ADC.