Battery life and maintenance of power tools