Update the charging flow to support a transition from slow charging to fast charging based on the battery threshold. Key changes: - Pass boot_mode to launch_charger_applet() to allow mode-specific power management. - In LB_BOOT_MODE_LOW_BATTERY_CHARGING, if the battery is above the critical threshold, issue an AP power-off to trigger a transition from slow to fast charging mode. - Update handle_low_power_charging_boot() to default to slow charging for low-battery charging boots. BUG=b:497622018 TEST=Verified Bluey correctly switches from slow charging to fast charging once critical battery threshold is exceeded. Change-Id: Ic65ab99360496c92a91795fce1352159066ab94e Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91912 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| arch | ||
| commonlib | ||
| console | ||
| cpu | ||
| device | ||
| drivers | ||
| ec | ||
| include | ||
| lib | ||
| mainboard | ||
| northbridge | ||
| sbom | ||
| security | ||
| soc | ||
| southbridge | ||
| superio | ||
| vendorcode | ||
| Kconfig | ||