battery/ocean: added 'state' field for each battery. ocean-to-csv: always have 8 batteries for controller but some battery may be absent e.g. 1-4 batteries present only, --num-of-batteries= option added for this purpose.