Added specs to describe the onBatteryStatus function.