rolled back a change, it's not clear which to use.

This commit is contained in:
Harald Hope 2017-08-04 10:54:10 -07:00
parent 584b86f693
commit 2bae6b712d

2
inxi
View file

@ -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
}