Merge pull request #2286 from IoTThinks/MCdev-PowerSaving-for-nrf52-companion-202604

Added Power Saving for NRF52 companions to have extra 30% battery life
This commit is contained in:
ripplebiz authored and GitHub committed 2026-05-31 18:49:46 +10:00
commit 580032b6a8
3 files changed
+18 -4

No files matched your search

+5
View File
@@ -2222,3 +2222,8 @@ bool MyMesh::advert() {
return false;
}
}
// To check if there is pending work
bool MyMesh::hasPendingWork() const {
return _mgr->getOutboundTotal() > 0;
}