Cordless battery-powered tools