From 584b86f6933177d39619d4eafe0a40974d30e1e1 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Thu, 3 Aug 2017 22:21:46 -0700 Subject: [PATCH] variable cleanup, removed unused stuff in print battery --- inxi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/inxi b/inxi index 9e82a1d..28db033 100755 --- a/inxi +++ b/inxi @@ -12650,9 +12650,8 @@ print_battery_data() if [[ -n ${A_BATTERY_DATA[@]} ]];then local battery_data='' battery_string='' local present='' chemistry='' cycles='' voltage_min_design='' voltage_now='' - local power_now='' charge_full_design='' charge_full='' charge_now='' capacity='' - local capacity_level='' model='' company='' serial='' of_orig='' model='' condition='' - local power='' + local power_now='' capacity='' capacity_level='' model='' company='' serial='' + local of_orig='' model='' condition='' power='' # echo ${A_BATTERY_DATA[@]} for (( i=0; i< ${#A_BATTERY_DATA[@]}; i++ )) @@ -12664,7 +12663,6 @@ print_battery_data() model='' condition='' voltage='' - name='' status='' present='' @@ -12673,9 +12671,6 @@ print_battery_data() voltage_min_design='' voltage_now='' power_now='' - charge_full_design='' - charge_full='' - charge_now='' capacity='' capacity_level='' of_orig=''