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
2026-05-31 18:49:46 +10:00
committed by GitHub
3 changed files with 18 additions and 4 deletions
+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;
}