Skip to content

Commit bad6dd9

Browse files
Eric Bersetheberseth
authored andcommitted
Keep fuel gauge active during sleep
1 parent 1c6a10f commit bad6dd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tracker_sleep.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ TrackerSleepResult TrackerSleep::sleep() {
298298
}
299299

300300
config.mode(SystemSleepMode::ULTRA_LOW_POWER)
301-
.gpio(PMIC_INT, FALLING); // Always detect power events
301+
.gpio(PMIC_INT, FALLING) // Always detect power events
302+
.gpio(LOW_BAT_UC, FALLING); // Keep fuel gauge awake
302303

303304
// Accumulate all of the pin sources for wake
304305
for (auto pin : _onPin) {

0 commit comments

Comments
 (0)