From ef9d1461243b13707504e64c386a34e1a75364d4 Mon Sep 17 00:00:00 2001 From: siddardha naraharisetti Date: Mon, 7 Apr 2014 19:21:58 -0700 Subject: power: bq2419x: add different time for power on after charge complete shutdown If high charging source is connected and system goes to shutdown after full charging of battery then system can be stay on power off for longer time. Add different auto recharge time for power off state. Bug 1489717 Change-Id: Iaf1c8721eef70b7c51c2b5bf0ba3c1a082995456 Signed-off-by: siddardha naraharisetti Reviewed-on: http://git-master/r/393183 Signed-off-by: Laxman Dewangan Change-Id: I9a7d42737dfc748cbc79efc1abc5bca03e3e8a80 Reviewed-on: http://git-master/r/404464 Reviewed-by: Riham Haidar Tested-by: Riham Haidar --- include/linux/power/bq2419x-charger.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/power') diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 128d2a1e74c1..02f6b0fe55d1 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -141,6 +141,7 @@ struct bq2419x_charger_platform_data { int num_consumer_supplies; struct regulator_consumer_supply *consumer_supplies; int chg_restart_time; + int auto_recharge_time_power_off; const char *tz_name; /* Thermal zone name */ bool disable_suspend_during_charging; bool enable_thermal_monitor; /* TRUE if FuelGauge provides temp */ -- cgit v1.2.3