Casta: Adjust charger configs for low battery booting
When a locked system boots up with a very low or non-communicating battery, the DUT should refrain from booting S0 in order to avoid hard reset brown outs after the system jumps to RW and begins attempting PD negotiation. BUG=b:131126731 BRANCH=octopus TEST=loaded onto locked casta with low battery, verified that the system didn't boot to S0 until the battery had passed the min battery percent configuration Change-Id: I64736eb1d39883cd95a5e317b1f964354e6f8e41 Signed-off-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1595272 Tested-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com>
This commit is contained in:
parent
a8f20b5387
commit
42ac79c297
|
@ -25,6 +25,15 @@
|
|||
#define CONFIG_TEMP_SENSOR
|
||||
#define CONFIG_THERMISTOR
|
||||
|
||||
/*
|
||||
* Don't allow the system to boot to S0 when the battery is low and unable to
|
||||
* communicate on locked systems (which haven't PD negotiated)
|
||||
*/
|
||||
#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON_WITH_BATT 15000
|
||||
#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON_WITH_AC 1
|
||||
|
||||
#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON 15001
|
||||
|
||||
/* Keyboard Backlight is unconnected in casta proto */
|
||||
#undef CONFIG_PWM
|
||||
#undef CONFIG_PWM_KBLIGHT
|
||||
|
|
Loading…
Reference in New Issue