charge_current: fixing wrong variable (my fault)