change V_BAT_MAX to 4V when charged