missed a variable name

This commit is contained in:
Harald Hope 2017-08-03 22:17:14 -07:00
parent f62ab22444
commit ce71c40c92

2
inxi
View file

@ -4237,7 +4237,7 @@ get_battery_data()
}
$1 ~ /^POWER_SUPPLY_ENERGY_NOW$/ {
energy_now = $NF / 1000000
energy_now = sprintf( "%.1f", charge_now )
energy_now = sprintf( "%.1f", energy_now )
}
# note: the following 3 were off, 100000 instead of 1000000
# why this is, I do not know. I did not document any reason for that