Added batteryChange logging