diff --git a/inxi b/inxi index 8767f16..9e82a1d 100755 --- a/inxi +++ b/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