function ChargeStateSlider_Callback(src,eventdata)
global ChargeState;

slider_value = get(src,'Value');
ChargeState = slider_value;


end
