Hi, looking at the tracker code tracker_shipping.cpp, function TrackerShipping::shutdown() , I see:
- the code disabled BATFET
pmic.disableBATFET();
- then proceeds to hibernate:
SystemSleepConfiguration config;
config.mode(SystemSleepMode::HIBERNATE)
.gpio(PMIC_INT, FALLING);
hal_sleep_enter(config.halConfig(), nullptr, nullptr);
I wonder the following:
If the tracker at the moment is powered only on battery, woudn't disabling the BATFET cut all power to the MCU since BATFET cuts power to the battery?
How is the MCU being powered from BATFET disabled until entering hibernate sleep?
Thanks!