Files
OpenCellular/common
Divya Sasidharan e353ab0363 pd: Fix multiple reboot for battery cut-off
In case of boot after battery is cut-off without this
change the battery is assumed to be present even though it
is not initialized and ready to provide power in try source
enable function. With this assumption charger is disconnected
momentarily which causes reboot.
Also make sure that try source enable is updated after battery
is ready by notifying hook call HOOK_BATTERY_SOC_CHANGE.

BUG=chrome-os-partner:51753
BRANCH=firmware-glados-7820.B
TEST=Enter battery cutoff command from EC console to enter into ship
     mode and plug-in AC, verified no reboots happen.

Change-Id: I6f7656125717f85851f5ad4e37dfd953a52799c6
Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/335913
Reviewed-by: Shawn N <shawnn@chromium.org>
(cherry picked from commit 10040ac6284efe88b74193bdbb0c05ec92b563b4)
Reviewed-on: https://chromium-review.googlesource.com/336697
Commit-Ready: Divya S Sasidharan <divya.s.sasidharan@intel.com>
Tested-by: Divya Jyothi <divya.jyothi@intel.com>
2016-04-13 18:37:18 -07:00
..
2015-11-09 12:49:36 -08:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-05-19 02:46:27 +00:00
2016-03-30 04:37:39 -07:00
2015-09-25 18:05:27 -07:00
2016-02-08 13:47:49 -08:00
2016-01-25 21:46:48 -08:00
2014-03-06 21:33:09 +00:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-03-02 13:39:47 -08:00
2015-11-25 18:15:38 -08:00
2015-10-19 13:45:49 -07:00
2014-05-17 20:14:17 +00:00
2013-12-19 00:12:28 +00:00
2016-03-21 16:35:33 -07:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-09-21 01:13:54 -07:00
2015-09-24 12:46:28 -07:00