From 2bae6b712de1a39bbfc523a3e10ad59bf8048fff Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Fri, 4 Aug 2017 10:54:10 -0700 Subject: [PATCH] rolled back a change, it's not clear which to use. --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }