From a6cd3679eb1219865a215d0600c9703b198f9157 Mon Sep 17 00:00:00 2001 From: apilat Date: Thu, 30 Jun 2022 15:52:57 +0100 Subject: Only inhibit sleep if motion notifications are enabled, not just Bluetooth --- src/components/ble/MotionService.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/ble/MotionService.h') diff --git a/src/components/ble/MotionService.h b/src/components/ble/MotionService.h index e15cffe3..acc91e8d 100644 --- a/src/components/ble/MotionService.h +++ b/src/components/ble/MotionService.h @@ -21,6 +21,7 @@ namespace Pinetime { void SubscribeNotification(uint16_t attributeHandle); void UnsubscribeNotification(uint16_t attributeHandle); + bool IsMotionNotificationSubscribed() const; private: NimbleController& nimble; -- cgit v1.2.3-70-g09d2