 			counter = 10;
 		}
 
-//	// put the XBee to sleep
-//	pinMode(XBee_wake, INPUT); // put pin in a high impedence state
-//	digitalWrite(XBee_wake, HIGH);
+	}
 
-	LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
+	delay(100);
 }

#include <Wire.h>
#include <avr/power.h>
#include "Adafruit_INA219.h"
#include "LowPower.h"

Adafruit_INA219 ina219_A;
Adafruit_INA219 ina219_B(0x44);

/* 8Mhz (fuse/bootloader) */
#define ws_baud 57600
#define ws_one_second 1000
#define ws_short_delay 200

int counter=10;

const int XBee_wake = 9;


float current_mA_B = 0;
float loadvoltage_B = 0;

//with xbee on
float shuntvoltage_C = 0;
float busvoltage_C = 0;
float current_mA_C = 0;
float loadvoltage_C = 0;

void setup () {
	//clock_prescale_set(clock_div_4);

	Serial.begin(57600);
	Serial.println("Charger Example");

	// Initialize the INA219.
	// By default the initialization will use the largest range (32V, 2A).  However
