Using batteries instead of piezoelectric devices