diff options
Diffstat (limited to 'power/gaia.c')
-rw-r--r-- | power/gaia.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/power/gaia.c b/power/gaia.c index b1d4f9a645..d115e2d52c 100644 --- a/power/gaia.c +++ b/power/gaia.c @@ -23,6 +23,7 @@ * - If XPSHOLD is dropped by the AP, then we power the AP off */ +#include "battery.h" #include "clock.h" #include "chipset.h" /* This module implements chipset functions too */ #include "common.h" @@ -642,6 +643,7 @@ void chipset_task(void) gaia_power_init(); ap_on = 0; + battery_wait_for_stable(); while (1) { /* Wait until we need to power on, then power on */ |