An adapter for a power tool powered by a detachable battery pack which adapter includes a connector configured to detachably connect the adapter directly to the power tool, an adapter controller, at least one memory and / or storage device in communication with the adapter controller and configured to store maintenance information concerning the battery pack or to store maintenance information concerning the battery pack and the power tool, at least one communication port configured to transmit electrical communications, including said maintenance information, from the adapter controller to a controller located in the power tool and vice versa, and a transmitter configured to wirelessly transmit the maintenance information to an external device.