Update power.inc.sh
This commit is contained in:
@@ -7,7 +7,7 @@ AVERAGEPOWER(){
|
||||
total_amp=0
|
||||
total_watt=0
|
||||
while IFS=$'\t' read date amp watt ;do
|
||||
echo "HERE: '${amp}'"
|
||||
# echo "HERE: '${amp}'"
|
||||
if [ "${amp}" != "" ] && [ "${amp}" != "NULL" ]; then
|
||||
total_amp=$(bc <<< "scale=2; ${total_amp}+${amp}")
|
||||
((logsfound_amp++))
|
||||
|
||||
Reference in New Issue
Block a user