summaryrefslogtreecommitdiff
path: root/include/linux/power
diff options
context:
space:
mode:
authorsiddardha naraharisetti <siddardhan@nvidia.com>2014-04-07 19:21:58 -0700
committerRiham Haidar <rhaidar@nvidia.com>2014-05-05 11:07:22 -0700
commitef9d1461243b13707504e64c386a34e1a75364d4 (patch)
tree33e06ff5e6a4a9430972dfc58959f31f2e5dc344 /include/linux/power
parentc4bcc17708f01f4368ea16b6ba7454e0055355f6 (diff)
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 <siddardhan@nvidia.com> Reviewed-on: http://git-master/r/393183 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I9a7d42737dfc748cbc79efc1abc5bca03e3e8a80 Reviewed-on: http://git-master/r/404464 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/bq2419x-charger.h1
1 files changed, 1 insertions, 0 deletions
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 */