Fix some problems with monitor and pulse charger. Now passes between bulk
and rest phases. Still to update the 3PH and IC/ICC.