diff options
author | Ivan Chen <yulunchen@google.com> | 2022-09-03 11:17:43 +0800 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-09-20 08:07:42 +0000 |
commit | a657b1f7ce199b27c187a17438542cdae3569ef4 (patch) | |
tree | 5d9d732c2075a6ad4285787095a89144a479fa23 /src/lib/primitive_memtest.c | |
parent | 92d38997906be4b1b7b91e2a4d007b09a24419c1 (diff) |
mb/google/dedede: Resume from suspend on critical battery
This patch makes dedede EC wake up AP from s0ix when the state of
charge drops to low_battery_shutdown_percent.
Demonstrated as follows:
1. Boot OS.
2. Run powerd_dbus_suspend.
3. On EC, run battfake 4.
4. System resumes.
BUG=b:244253629
TEST=Verified on dedede
Change-Id: I39234d2b9e739383b5f96be49077f8c9831fa0fa
Signed-off-by: Ivan Chen <yulunchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67320
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/lib/primitive_memtest.c')
0 files changed, 0 insertions, 0 deletions