mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
variable cleanup, removed unused stuff in print battery
This commit is contained in:
parent
ce71c40c92
commit
584b86f693
9
inxi
9
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=''
|
||||
|
|
Loading…
Reference in a new issue