From 37557f5dbd52e9b8ec499cf57ff4373ac57114f2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 13 Jan 2024 10:49:23 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 2fb27b4d..3219681f 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -7,6 +7,7 @@ AVERAGEPOWER(){ total_amp=0 total_watt=0 while IFS=$'\t' read date amp watt ;do + echo "HERE: '${amp}'" if [ "${amp}" != "" ] && [ "${amp}" != "null" ]; then total_amp=$(bc <<< "scale=2; ${total_amp}+${amp}") ((logsfound_amp++))