.trickle_ilim = 200, /** Trickle charge current limit, in mA */
.vsel = 4200, /** Target voltage, in mV */
.eoc_iterm = 90, /** End of trickle charge current, in mA */
- .fast_ilim = 1000, /** Fast charge current limit, in mA */
- .timeout = 180, /** Charge cycle timeout, in minutes */
+ .fast_ilim = 500, /** Fast charge current limit, in mA */
+ .timeout = 240, /** Charge cycle timeout, in minutes */
.syslo = 3300, /* syslo threshold, in mV*/
.sysok = 3500, /* sysko threshold, in mV*/
};
.trickle_ilim = 200, /** Trickle charge current limit, in mA */
.vsel = 4200, /** Target voltage, in mV */
.eoc_iterm = 90, /** End of trickle charge current, in mA */
- .fast_ilim = 1000, /** Fast charge current limit, in mA */
- .timeout = 180, /** Charge cycle timeout, in minutes */
+ .fast_ilim = 500, /** Fast charge current limit, in mA */
+ .timeout = 240, /** Charge cycle timeout, in minutes */
.syslo = 3300, /* syslo threshold, in mV*/
.sysok = 3500, /* sysko threshold, in mV*/
};
wm831x_chg->flag_chg = wm831x_read_chg_status(wm831x_chg);
if(!wm831x_chg->flag_chg)
kernel_power_off();
-
+ if(wm831x_chg->flag_bl != 0)
ret = charger_logo_display(chargerlogo[i]);
DBG("%s:i=%d\n",__FUNCTION__,i);
- mdelay(300);
+ msleep(200);
+ wm831x_check_on_pin(wm831x_chg);
+ msleep(200);
wm831x_check_on_pin(wm831x_chg);
+
}
}
else if(status == BAT_DISCHARGING)
{
+ if(wm831x_chg->flag_bl != 0)
charger_logo_display(chargerlogo[7]);
- mdelay(300);
+ msleep(200);
+ wm831x_check_on_pin(wm831x_chg);
+ msleep(200);
wm831x_check_on_pin(wm831x_chg);
}