void mt_battery_charging_algorithm() { battery_charging_control(CHARGING_CMD_RESET_WATCH_DOG_TIMER,NULL); switch(BMT_status.bat_charging_state) { case CHR_PRE : BAT_PreChargeModeAction(); break; case CHR_CC : BAT_ConstantCurrentModeAction(); break; case CHR_BATFULL: BAT_BatteryFullAction(); break; case CHR_HOLD: BAT_BatteryHoldAction(); break; case CHR_ERROR: BAT_BatteryStatusFailAction(); break; } battery_charging_control(CHARGING_CMD_DUMP_REGISTER,NULL); }
void mt_battery_charging_algorithm() { switch(BMT_status.bat_charging_state) { case CHR_PRE : BAT_PreChargeModeAction(); break; case CHR_CC : BAT_ConstantCurrentModeAction(); break; case CHR_TOP_OFF : BAT_TopOffModeAction(); break; case CHR_BATFULL: BAT_BatteryFullAction(); break; case CHR_HOLD: BAT_BatteryHoldAction(); break; case CHR_ERROR: BAT_BatteryStatusFailAction(); break; } }
void mt_battery_charging_algorithm(void) { __init_charging_varaibles(); #if defined(CONFIG_MTK_PUMP_EXPRESS_SUPPORT) battery_pump_express_charger_check(); #endif switch (BMT_status.bat_charging_state) { case CHR_PRE: BAT_PreChargeModeAction(); break; case CHR_CC: BAT_ConstantCurrentModeAction(); break; case CHR_TOP_OFF: BAT_TopOffModeAction(); break; case CHR_BATFULL: BAT_BatteryFullAction(); break; case CHR_HOLD: BAT_BatteryHoldAction(); break; case CHR_ERROR: BAT_BatteryStatusFailAction(); break; } }
void mt_battery_charging_algorithm() { battery_charging_control(CHARGING_CMD_RESET_WATCH_DOG_TIMER,NULL); #if defined(MTK_PUMP_EXPRESS_PLUS_SUPPORT) battery_pump_express_charger_check(); #endif switch(BMT_status.bat_charging_state) { case CHR_PRE : BAT_PreChargeModeAction(); break; case CHR_CC : BAT_ConstantCurrentModeAction(); break; case CHR_BATFULL: BAT_BatteryFullAction(); break; case CHR_HOLD: BAT_BatteryHoldAction(); break; case CHR_ERROR: BAT_BatteryStatusFailAction(); break; } battery_charging_control(CHARGING_CMD_DUMP_REGISTER,NULL); }