diff --git a/inxi b/inxi index 28db033..9cee3de 100755 --- a/inxi +++ b/inxi @@ -4275,7 +4275,7 @@ get_battery_data() END { # note:voltage_now fluctuates, which will make capacity numbers change a bit # if any of these values failed, the math will be wrong, but no way to fix that - if (b_ma == "true" && voltage_now != ""){ + if (b_ma == "true" && voltage_min_design != ""){ if (charge_now != ""){ energy_now=charge_now*voltage_now }