qaul / qaul.net

Internet Independent Wireless Mesh Communication App
https://qaul.net
GNU Affero General Public License v3.0
501 stars 63 forks source link

High background battery usage on Android #639

Open shadow-identity opened 3 weeks ago

shadow-identity commented 3 weeks ago

Hi! Thanks for the great efforts of building this app! I think such kinds of apps are exceptionally important especially in some countries.

Sadly the app drained my battery by 16 % in the background for about 12 hours since the phone was fully charged. All networks were enabled.

Screenshot_20240626-203027.png

Screenshot_20240626-202840.png

Also, yesterday I spent some time playing with the app, and the battery drain was significant in the foreground:

Screenshot_20240625-221108~2.png

Version 2.0.0-beta.18, from Play Store. Google Pixel 6 Pro Android 14

MathJud commented 3 weeks ago

Thanks for your stats!

Background Battery Usage

As qaul is a P2P app, it needs to constantly send and receive information, check Wifi & BLE for other users, as well as building the routing table and check for further events. qaul therefor uses some battery, when running in the background. This behaviour is intended and fully normal. If you want qaul to stop qaul from running in the background, you can simply close the app.

Foreground Battery Usage

Looking at your stats, the batter usage in the foreground could better. There should be some further inspecting to see where most of the battery is used. There is a new version of qaul in the playstore: Version 2.0.0 Release Candidate 1. It would be interesting to know if your stats are the same there.