with data exchange between battery and charger