-
Notifications
You must be signed in to change notification settings - Fork 284
Battery draining since 1.10.1(0) #1823
Comments
Hi @secuninja 👋🏻 I've got a few questions:
Please also note that the battery consumption from the underlying framework, the ENF (Exposure Notification Framework), can't hardly be influenced by the Corona-Warn-App. Thanks, and stay safe! |
Internal Tracking ID: EXPOSUREAPP-1882 |
Hey @Ein-Tim
Thanks and Best |
Hi @secuninja Thanks for providing the information. The 9% are relative to the whole usage. Maybe you could test something for me. This is the only (fast) way to find out the real batter usage of "Begegnungsmitteilungen" since all the other numbers are relative to the usage (as explained above). Thank you |
Hi @Ein-Tim thanks for you reply. I was just wondering what has been changed in the past releases that increased the relative baterry usage. I was always at 2-5% by "Begegnungsmitteilungen" while I did not change my other device usage. Thanks! :) |
Okay. If you are not able to turn WiFi off, you can leave it on too, but then there are also other Apps with active background updates (which will drain the battery too) so this is not that clear. Could you please reboot your phone and keep monitoring for a few days? Thanks |
Sure :) |
@secuninja Thanks and have a nice evening. |
@secuninja Thanks for reporting. We have added your information to the internal ticket for the developers. Should you observe any change in the behaviour, please let us know. Any further development on this issue will be reported here. Many thanks. Best wishes, DS |
@secuninja |
Done ✅ |
With iOS 14.3 and CWA 1.11.0(9) the power usage is still extremely high (59 % used by CWA "Begegnungsmitteilungen"). |
Yes, we saw a higher battery usage in versions after 1.6 (1.7 introduced more frequent risk checks)
I'm afraid I can't answer this. 😕
Most of the data is cached (Source): "No new key files are downloaded they are cached based on the hash." |
@stweil cwa caches the key files after first download and subsequently loads only the new files. A daily key file currently has between ~ 12000 and ~ 30000 keys. However, the significant increase of power consumption is not the download of keys from the server, but the local key matching and risk calculation. This part is mainly performed in the ENF (Exposure Norification Framework) provided by Apple / part of iOS; so we know the functional description what they are doing, but not the exact details of implementation. What they are doing basically:
|
Thanks for the detailed information. This sounds as it should be possible to run integration tests for iOS and Android with hand crafted test apps and power meters, so more precise data like Joule per cycle could be determined. As this is essential for the success of the cwa and there seem to be major unexplained differences between iOS and Android, I'd expect such tests to be made by Apple and Telekom / SAP. |
We have the battery draining "problem" more visible on iOS because of the misleading battery consumption feature. But the features shows only app consumption in this 10% there are also hardware consumption included which are not visible and in the winter time you have also drop of battery charge because of the temperature. |
@stweil & @secuninja please update to CWA 1.12.1 and keep us posted about the issue. Thanks |
CWA 1.11.0(9) "Begegnungsmitteilungen" used 12 % battery on iPhone, that's more than mail, but about the same as browser, a heavily used other app used 20 %. I'll report numbers for CWA 1.12.1 as soon as it is updated to that version. |
So I’m on the latest app and IOS and at this time my remaining battery is in 36% and the consumption of CWA is 14% which is still too much in my eyes. This is way more than my twitter, mail or browser app I’m using most of the day. For comparison twitter and mail are both at 7%. |
@secuninja so that's iOS 14.4, right? I am still on 14.2 and I can switch between 24 hours and 10 days view. And I can switch between "activity" and "battery usage". And for 'activity' it shows separate numbers for 'foreground' and 'background'. My numbers actually look not bad: 10-days view: 24h view: cwa 1.11 / iOS 14.2 / iPhone 8 |
@ndegendogo Thanks for info. We keep that observing, however, it doesn´t seem that there is a fundamental or critical issue here. |
thank you all so far! 10days: Notable might be that i’m mostly at home so there is only one other phone in range throughout the day. If that’s all fine in numbers I’ll have to live with that 🤷🏼♂️ |
@secuninja Thanks for the feedback. |
How is the current strategy for "Begegnungsmitteilungen"? How often is it run each day? As far as I have understood it is a critical factor for power usage, so optimizing it can reduce the battery drain. I noticed for example that CWA shows a nightly update of that information, at a time where I would not care because I sleep. So I could imaging either an optional user setting "no nightly updates" or use sensor information to see whether the smartphone is in use and stop nightly updates when it isn't used. Maybe users should also have an option to decide themself how often they would like to have an update. |
@stweil well, you don't care about the nightly risk assessment, but other people need it before they are going to work and meeting other people (clients / collegues / ...).
Yes, you are right, there should be more options. Feel free to upvote this wishlist item and/or extend it with your ideas. |
Just replace "nightly" by periods of sleep or other inactivity, then it applies to most people. I don't think that it is necessary to wake someone just to say that there was a critical contact. That's why I suggested to use sensor data. The typical acceleration sensors would indicate whether the phone is in use or laying somewhere motionless. Your wishlist item has good ideas. I upvoted it and added a comment. |
I see a battery usage of 12% today in release 1.10.1(0) in iOS 14.3 which hasn’t been that high in any other release
I’ve never seen it using so much battery, it usually was at 2-5% all the time. Even over the night it’s showing 9% now.
Screenshot:
Internal Tracking ID: EXPOSUREAPP-1882
The text was updated successfully, but these errors were encountered: