Samsung warns AndrOBD wakes often, and wants me to deep sleep it. #258
Description
Describe the bug
Without actively using the application (haven't ran it for days) I'm seeing warnings about excessive "wakes" from the built in Battery features of my Samsung A71 phone (SM-A716V). I did try to use your app for the first time a few days ago, and I tried my best to close out of it fully at the end.
I'm sure I could work around the issue, or use the suggested setting (which would prevent the app from running unless I view it), but I thought I'd pass along the message in case it's something you can fix.
My understanding is the phone can't go into deep sleep (saving lots of battery when idle) if ANY application wakes it. Sure, if I was actively using something in AndrOBD I'd want it to wake, but I haven't run it for days now and never did see data come out of my adapter with it (Torque Lite worked though).
To Reproduce
- I installed 3 parts from F-prot (including GPS and Sensor providers, didn't know if needed MQTTPublisher)
- Ran them and tried to connect to my older bluetooth only adapter (Kobra brand)
- Didn't get it to work so I tried to close it (swiped away on running app list)
- Waited a day or two and I periodically see a notification with...
"Extend your battery life
AndrOBD is waking up frequently and using too much battery. Put it in deep sleep to extend your battery life."
Expected behavior
No warnings, even when using default "Optimized" mode for the app (versus needing me to manually pick either "Unrestricted" or "Restricted" to prevent these today, and maybe lose battery life or app functionality)
Important details on your environment:
- (Samsung) One UI version: 5.1
- Android OS version: 13
- AndrOBD version: v2.6.7
- Adapter: older bluetooth only Kobra (like 5-10 years old?)