AdGuardVPNForAndroid
AdGuardVPNForAndroid copied to clipboard
AdGuard VPN on Andriod consume high battery during my sleep period even not connect VPN.
Please answer the following questions for yourself before submitting an issue.
- [X] I am running the latest version
- [X] I checked the documentation and found no answer
- [X] I checked to make sure that this issue has not already been filed
AdGuard VPN version
2.6.25
Operating mode
VPN
Environment
- OS: Android 13
- Device: POCO F3
- Firmware:
Root access
- [ ] Yes, I have it.
Issue Details
Steps to reproduce:
- Go to Android setting
- Select 'Battery'
- Select ' AdGuardVPN'
Expected Behavior
No response
Screenshots
Additional Information
No response
This bug has been reported on Reddit (https://www.reddit.com/r/Adguard/comments/17vid44/sudden_and_seemingly_temporary_drain_issue_with/), and I even reported it myself to the Adguard developers a few weeks ago. Apparently, the bug is that the application has an endless loop to check the integration mode with Adguard. This does not happen in the previous version of Adguard.
i can confirm the issue... heavy battery drain even while not connected. Reported this two times. Support told me that they are aware of this and have created an issue on github, but linked this to an adguard app instead vpn problem...
Hello!
As we mentioned in our previous message, we're aware of that issue and going to fix it in future updates.
Also, we've created the GitHub issue for this problem. So if the issue is still relevant for you, please report it as a comment in this issue. This way, you'll be able to communicate directly with our developers.
Best, AdGuard Support 💚
@nik2ads @DevSergio02 @flo-m thanks! Unfortunately this problem is now being observed for both AdGuard and AdGuard VPN, but for some reason not on all devices. We are indeed aware of this issue and are trying to figure out the cause. It will take us some more time to resolve this issue. Please continue to monitor the power consumption on your devices. Whenever you see a recurrence of high power consumption, please send us the logs, it will be very helpful.
- Enable debug logging:
Settings -> General -> Advanced -> Logging level -> Extended
-
Reproduce the issue related to the button behaviour, then remember the exact time when it happened
-
Collect logs:
Settings -> General -> Advanced -> Export logs and system info
- Sent this file to [email protected]:
mention the 391 number in the subject specify the exact time when the issue occurred
@nik2ads @DevSergio02 @flo-m The unusual thing about this consumption is also that the compatibility mode block has not changed in any way since AdGuard VPN version 2.3. Have you observed this behavior before? Or did it only start with version 2.6?
@nik2ads @DevSergio02 @flo-m The unusual thing about this consumption is also that the compatibility mode block has not changed in any way since AdGuard VPN version 2.3. Have you observed this behavior before? Or did it only start with version 2.6?
The problem occurs from version 2.6 onwards. On my phone I had to downgrade to version 2.5, where the problem does not happen.
@nik2ads @DevSergio02 @flo-m The unusual thing about this consumption is also that the compatibility mode block has not changed in any way since AdGuard VPN version 2.3. Have you observed this behavior before? Or did it only start with version 2.6?
For me, this problem occurs from version 2.6 onward.
@nik2ads @DevSergio02 @flo-m thanks! Unfortunately this problem is now being observed for both AdGuard and AdGuard VPN, but for some reason not on all devices. We are indeed aware of this issue and are trying to figure out the cause. It will take us some more time to resolve this issue. Please continue to monitor the power consumption on your devices. Whenever you see a recurrence of high power consumption, please send us the logs, it will be very helpful.
- Enable debug logging:
Settings -> General -> Advanced -> Logging level -> Extended
- Reproduce the issue related to the button behaviour, then remember the exact time when it happened
- Collect logs:
Settings -> General -> Advanced -> Export logs and system info
- Sent this file to [email protected]:
mention the 391 number in the subject specify the exact time when the issue occurred
I can't collect logging in debug mode for you. Because AdGuard VPN was crash during 'Export logs and system info' process. My symptoms occur during my sleep time. So, the log size might be huge.
@nik2ads @DevSergio02 @flo-m thanks! Unfortunately this problem is now being observed for both AdGuard and AdGuard VPN, but for some reason not on all devices. We are indeed aware of this issue and are trying to figure out the cause. It will take us some more time to resolve this issue. Please continue to monitor the power consumption on your devices. Whenever you see a recurrence of high power consumption, please send us the logs, it will be very helpful.
- Enable debug logging:
Settings -> General -> Advanced -> Logging level -> Extended
- Reproduce the issue related to the button behaviour, then remember the exact time when it happened
- Collect logs:
Settings -> General -> Advanced -> Export logs and system info
- Sent this file to [email protected]:
mention the 391 number in the subject specify the exact time when the issue occurred
I believe I can consistently reproduce the issue on my Z Fold 5 running Android 14. I have collected and sent the logs to the email address.
@Iamz thanks! We'll look into your logs
in my case, all previous version do also consume battery (even tough much less than 2.6).
From 2.6, there is a wakelock held by:
com.adguard.vpn/androidx.work.impl.background.systemjob.SystemJobService
This one is not present in e.g. 2.5
See held active in gsam (adguard vpn is holding the device active 2h of 8h):
See Process details:
@nik2ads @DevSergio02 @flo-m we found what the problem is. It will be fixed in an upcoming update. Thank you very much for your information!
@nik2ads @DevSergio02 @flo-m please test this in AdGuard VPN 2.7 Beta 1 released today or wait for the release version tomorrow, please let us know the results
Yes, no battery drain in 2.7 beta. Adguard VPN is usable again 👍🏻
yes, can also confirm: it works fine now !
I'm testing with 2.7 Beta 1 and so far I still notice that it constantly runs in the background and starts consuming battery power again, just like version 2.6 did. I will try to install the 2.7 stable version, which is now available and report back if it keeps happening.
@DevSergio02 okay, we're waiting for feedback
I can confirm that the issue ist still present in Version 2.7.8, while IT was fixed in 2.7 Beta.
Can someone else also confirm? Update: 2.7.6 (which seems to be 2.7 beta 1) is working fine. 2.7.8 (which is the new stable) has the same old issue with wakelock.
I can confirm that the issue ist still present in Version 2.7.8, while IT was fixed in 2.7 Beta.
Can someone else also confirm? Update: 2.7.6 (which seems to be 2.7 beta 1) is working fine. 2.7.8 (which is the new stable) has the same old issue with wakelock.
I have had the same wakelock even in version 2.7 Beta 1, in One UI's Device Care, it marks that the app is constantly in the background doing "something", something that in version 2.5 is usually never in the background, or sometimes it appears but for a very short time.
@DevSergio02 okay, we're waiting for feedback
Unfortunately, the problem still occurs in the stable version of Adguard VPN 2.7. I have just sent the logs with the new version to the Adguard email you indicated above.
What I have been able to observe in the logs is that a kind of "refresh" of network parameters is constantly repeated because supposedly the "link properties has changed":
14:43:17.661 [pool-5-thread-1] DEBUG com.adguard.vpnclient.VpnCore - Link properties changed
14:43:17.662 [pool-5-thread-1] DEBUG com.adguard.vpnclient.VpnCoreUtils - Refreshing network parameters
I don't know if this has to do with the Adguard integration mode or not.
@DevSergio02 @flo-m we looking into the problem. Have you also updated AdGuard to the latest version 4.3.1?
@DevSergio02 @flo-m we looking into the problem. Have you also updated AdGuard to the latest version 4.3.1?
Yes, I have done the tests with Adguard 4.3.1.
No change for me. Excessive battery usage. Adguard 4.3.1/VPN 2.7.8
i have to admit that the both beta + stable 2.7 is having the same issue (wakelock) after some time...
Yes, at first it seemed resolved, but the problem returned
Hi, found this by searching. I just want to confirm the issue on two devices: Samsung S22+ / Tab S9 (both Android 14 stock) Adguard 4.3.1 and Adguard VPN 2.7.8
High battery consumption of Adguard VPN while not using it.
@rak-rak @Nietsnut @flo-m @Emtp563 @DevSergio02 we are looking into this, thanks for the info. If there are any new logs, please send them in
- CRM 854336
the newly release beta 2.8.12 still has the same wakelock issue...
@flo-m we're still looking into the issue
Is there any news on when you are going to fix the problem? I (as well as many others) are stuck on version 2.5, and at some point it will stop working due to some "major" change that requires a higher version to use Adguard VPN 😢😢