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++))