summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/bq24190_charger.c
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2017-11-23 15:41:05 +0100
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-12-01 16:41:05 +0100
commit5f2f0d610578d380123d5c5906bbfa1ec5542b1a (patch)
tree0a0c6c1078121e333118971581ad718475093954 /drivers/power/supply/bq24190_charger.c
parent68204f2fbae26dd3ca2b4c7f52ce9d006e8dc08f (diff)
power: ltc2941-battery-gauge: Disable continuous monitoring on shutdown
The driver sets the fuel gauge to continuous monitoring on startup, for the models that support this. When the board shuts down, the chip remains in that mode, causing a few mA drain on the battery every 2 or 10 seconds. This patch registers a shutdown handler that turns off the monitoring to prevent this battery drain. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/bq24190_charger.c')
0 files changed, 0 insertions, 0 deletions