 void batlog_tick(uint8_t changes) {
   if (changes >= 2 && BatLog.logbat) {
     if (BatLog.eeaddr < 1024) {
-      uint8_t batvol = Xadow.getBatVol()*10;
+      uint8_t batvol = mcu_get_battery_voltage();
       EEPROM[BatLog.eeaddr] = batvol;
       BatLog.eeaddr += 1;
     }

      EEPROM[addr] = 0xFF;
    }
    BatLog.logbat = 1;
  } else {

    uint8_t ypos = 0;
    oled.drawString("Press WAKE", 0, ypos, FONT_SIZE, COLOR_RED);

    }

    if (printlog) {
      delay(100);
      for (uint16_t eeaddr = 1; eeaddr < 1024; ++eeaddr) {
        Serial.print(eeaddr, DEC);
