CHRG_ON
if (sharpsl_pm.charge_mode == CHRG_ON)
if (sharpsl_pm.charge_mode == CHRG_ON) {
if (!sharpsl_pm.machinfo->batfull_irq && (sharpsl_pm.charge_mode == CHRG_ON)
sharpsl_pm.charge_mode = CHRG_ON;
if (acin && (sharpsl_pm.charge_mode != CHRG_ON))
else if (sharpsl_pm.charge_mode == CHRG_ON)
if (sharpsl_pm.charge_mode == CHRG_ON)
if (sharpsl_pm.charge_mode == CHRG_ON)
if ((sharpsl_pm.charge_mode == CHRG_ON) && ((alarm_enable && ((alarm_time - RCNR) > (SHARPSL_BATCHK_TIME_SUSPEND + 30))) || !alarm_enable)) {
sharpsl_pm.charge_mode = CHRG_ON;
} else if (sharpsl_pm.charge_mode != CHRG_ON) {
sharpsl_pm.charge_mode = CHRG_ON;
if (sharpsl_pm.charge_mode == CHRG_ON)