diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index ae04f1f..06b6a5a 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -2820,7 +2820,7 @@ void ShowBattery() { tft.fillRect(313, 13, 4, 6, ActiveColor); } tft.fillRect(279, 8, 33, 16, BackgroundColor); - if (batteryoptions != BATTERY_VALUE && batteryoptions != BATTERY_PERCENT) tft.fillRect(279, 24 - (battery * 4), 33, battery * 4, BarInsignificantColor); + if (batteryoptions != BATTERY_VALUE && batteryoptions != BATTERY_PERCENT) tft.fillRect(279, 8, 17 + (battery * 4), 16, BarInsignificantColor); } else { tft.drawRect(277, 6, 37, 20, GreyoutColor); tft.fillRect(313, 13, 4, 6, GreyoutColor);