-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - 3.6.0: High battery usage #437
Comments
Hello! This is strange because I am no longer able to replicate this issue on 3.6.0. Can you confirm you do not have "wifi name via shell" enabled. Also, have you tried restarting your device since upgrading to 3.6.0 to see if that solves the issue? |
I don't remember that I ever enabled this feature. I don't use any auto-settings.
I haven't. I upgraded from 3.5.2 -> 3.6.0 |
I am getting the same issue with 3.6.0 I have rebooted the phone to check but still having the issue. I don't have wifi name via shell enabled any suggestions for what to check or info I could provide that would help diagnose the issue? |
@lincolnep Can you share your settings and phone android version/model? I'm still having a hard time reproducing. |
I have a s24+ with android 14 October security patch. I have also noticed that 81gb was down loaded by wg tunnel as I down load less then 25gb in a month normally I have a suspicion it is linked to that |
In my case all those settings were disabled |
I'm also having the high battery usage (42%). Wifi name via shell disabled. |
Does everyone here have a Samsung? I'm trying to determine if this is a purely Samsung specific issue. |
Also, were all of you using auto-tunneling? Or was this happening even when auto-tunneling is turned off and just the tunnel is active? |
As already stated, yes, on a Samsung S24U. Auto-tunneling was active for non-home wifi or mobile situations. Two mobile networks active. The tunnel itself should have been inactive about 90% of the day as I was mostly at home. Resulted in 42% of battery usage. I'm on the latest Samsung (November) /Google (October) patches. |
I don't have a Samsung phone. Android 10. Not as high battery consumption in numbers but the phone gets really warm and the battery depletes rapidly on 3.6.0 with auto-tunnelling. I don't know if the battery depletes less rapidly at home when the phone is connected to a trusted WiFi compared to when the tunnel is active on mobile data or on a untrusted WiFi. |
not Samsung specific
No, I don't use auto-tunneling and other auto* options. |
High battery usage with 3.6.0 here as well. Non rooted Pixel2XL with A11. Auto tunneling on mobile data or untrusted wifi. 3.5.2 is the only version that doesn't drain the battery. |
+1 Xiaomi Mi9 A10 After reverting to 3.5.2 Batteryusage from Hero to Zero.. On my A13 Tablet AutoTunnel doesn't work well; service stops or crashes after loosing WiFi Signal. 3.5.2 has no issues |
I think this issue may have something to do with changes to how the app handles local logging as there were big changes to this during these impacted versions. I think I'll add a toggle to the support screen to allow the user to disable local logging and this should help us determine if this is the origin of this issue. |
I am ready test this experimental version 👍 |
Thank you! Here it is: https://github.com/zaneschepke/wgtunnel/releases/tag/3.6.0-battery-regression-fix Please let me know if it fixes the issue and I'll create a prod release right away. |
I am using prerelease-3.6.0 for a couple of hours and looks like it doesn't have a problem. But I am keep testing. |
Are you testing with no auto-tunnel running or with auto-tunnel running? |
@zaneschepke auto-tunnel is disabled, I never used auto-tunnel before. I removed old data from version 3.5.2 and did clean install testing version and imported config from zip file. All settings are default. So far no problems. Looks like local logging was indeed the reason of high battery usage. |
@Solarunit Thank you so much for testing this and getting back with me so quickly! I think I'll release a new version with local logging disabled be default for now until I can get to the bottom of what is going wrong there. Thanks again! |
Adds a slight battery performance improvement #437
Going to close this one out for now as it should be fixed in the latest 3.6.1 release with local logging disabled by default. If using local logging, I recommend you only turn it on to reproduce a bug, provide the logs, and then turn it off again. I'll add a separate action for myself to investigate the logging issue. |
Describe the bug
High battery usage.
wgtunnel is on top of battery usage statistics after a few hours of idle phone usage. While version 3.5.2 was perfect and app was never in the list.
So 3.6.0 hasn't fixed this issue for me #411
I think I have to go back to version 3.5.2 again.
Smartphone (please complete the following information):
Expected behavior
Same battery usage that was in version 3.5.2
The text was updated successfully, but these errors were encountered: