From 5cb203750987e43a377ab1b8229a133c82a4f992 Mon Sep 17 00:00:00 2001 From: Aleksandr Soloshenko Date: Thu, 30 Nov 2023 09:12:54 +0700 Subject: [PATCH] Added: FAQ on power saving --- web/mkdocs/docs/faq.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/web/mkdocs/docs/faq.md b/web/mkdocs/docs/faq.md index e351c2bf..6a34fc2f 100644 --- a/web/mkdocs/docs/faq.md +++ b/web/mkdocs/docs/faq.md @@ -15,3 +15,20 @@ curl -X POST \ "simNumber": 2 }' ``` + +## Does the app require power saving mode to be turned off to function without interruptions? + +### Local Mode +- **Power saving settings:** No changes needed. The app uses a foreground service with a wake lock to operate, which allows it to run without power saving mode. +- **Battery impact:** Using wake lock may lead to quicker battery drain. + +### Cloud Mode +- **Power saving settings:** No changes needed. The app uses Firebase Cloud Messaging (FCM) for push notifications, which works without disabling power saving mode. +- **Potential delays:** High message rates could lead to occasional delays when the device is in power-saving modes because of limits on high-priority FCM notifications. + +### Recommendations +- **Testing:** It's advisable to test the app with and without power saving mode activated to see how it performs on your specific device and Android version. +- **Device manufacturers:** Behavior might vary by device manufacturer. +- **Local + Cloud:** For better responsiveness, consider running a local server alongside the cloud server connection. + +See also issue [#17](https://github.com/capcom6/android-sms-gateway/issues/17).