mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
missed a variable name
This commit is contained in:
parent
f62ab22444
commit
ce71c40c92
2
inxi
2
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue