Closed MedadRufus closed 3 years ago
Use timers to schedule the gps fix check. Otherwise, stay in ultra low power mode. Must create state machine like barometer_operate(...)
like in this example: https://android.googlesource.com/kernel/mediatek/+/android-mediatek-sprout-3.10-marshmallow-mr1/drivers/misc/mediatek/barometer/ms5607/ms5607.c
Can poll GPS every 20 seconds, and stay in deep sleep then.
Currently, During a GPS fix search, both GPS and MCU are running in full power. GPS consumes around 40mA while MCU draws around 7-10mA. If I put the mcu to low power while the GPS searches, it will reduce the max power draw, hence allowing for the tracker to work at an even lower sun elevation.
Current record is 8 degrees sun elevation wake up. Can it be lowered even further?