* iOS WG Battery Life
@ 2019-02-28 12:07 kolargol
2019-03-01 10:08 ` Kalin KOZHUHAROV
2019-03-06 10:32 ` kolargol
0 siblings, 2 replies; 10+ messages in thread
From: kolargol @ 2019-02-28 12:07 UTC (permalink / raw)
To: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]
Hi
Thanks for great work with Wireguard, it's fresh breeze of air compared on years spend on OpenVPN...
I am testing WG on varius OSes and devices and I have noted severe battery drain on iOS (12.2, iPhone 8). Typically battery drops 40% during night-time (that is 7 hours of inactivity on the phone) when WireGuard is engaged.
Is this some kind of known issue? I did not had chance to test previous iOS version without SIMD ChaCha20 support so i cannot tell if it is becouse of the last update.
Anything i can do to track issue here?
thanks,
kolargol
[-- Attachment #1.2: Type: text/html, Size: 711 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: iOS WG Battery Life
2019-02-28 12:07 iOS WG Battery Life kolargol
@ 2019-03-01 10:08 ` Kalin KOZHUHAROV
2019-03-02 0:30 ` Mark Finzel
2019-03-02 7:29 ` kolargol
2019-03-06 10:32 ` kolargol
1 sibling, 2 replies; 10+ messages in thread
From: Kalin KOZHUHAROV @ 2019-03-01 10:08 UTC (permalink / raw)
To: kolargol; +Cc: wireguard
On Fri, Mar 1, 2019 at 11:03 AM kolargol <kolargol@protonmail.com> wrote:
> I am testing WG on varius OSes and devices and I have noted severe battery drain on iOS (12.2, iPhone 8). Typically battery drops 40% during night-time (that is 7 hours of inactivity on the phone) when WireGuard is engaged.
>
Compared to how much during night without activated WireGuard?
> Is this some kind of known issue? I did not had chance to test previous iOS version without SIMD ChaCha20 support so i cannot tell if it is becouse of the last update.
>
> Anything i can do to track issue here?
>
Is there anything using the interface, or just wg keep-alive?
May be try to change the keep-alive to a longer period.
Also (and I have 0 experience with iOS), a keep-alive packet my wake
up the phone, and let it stay awake for some longer-than-needed
interval (e.g. 5 minutes).
Try to have a look at what actually eats the battery: CPU, radio, screen?
Cheers,
Kalin.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: iOS WG Battery Life
2019-03-01 10:08 ` Kalin KOZHUHAROV
@ 2019-03-02 0:30 ` Mark Finzel
2019-03-02 7:29 ` kolargol
1 sibling, 0 replies; 10+ messages in thread
From: Mark Finzel @ 2019-03-02 0:30 UTC (permalink / raw)
To: Kalin KOZHUHAROV, kolargol; +Cc: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 1393 bytes --]
FWIW, I haven’t noticed a difference in battery life on iOS. I’m using an iPhone XS, iOS 12.1.4, VPN is always on. So maybe something in your setup?
Sent from ProtonMail Mobile
On Fri, Mar 1, 2019 at 3:08 AM, Kalin KOZHUHAROV <me.kalin@gmail.com> wrote:
> On Fri, Mar 1, 2019 at 11:03 AM kolargol <kolargol@protonmail.com> wrote:
>> I am testing WG on varius OSes and devices and I have noted severe battery drain on iOS (12.2, iPhone 8). Typically battery drops 40% during night-time (that is 7 hours of inactivity on the phone) when WireGuard is engaged.
>>
> Compared to how much during night without activated WireGuard?
>
>> Is this some kind of known issue? I did not had chance to test previous iOS version without SIMD ChaCha20 support so i cannot tell if it is becouse of the last update.
>>
>> Anything i can do to track issue here?
>>
> Is there anything using the interface, or just wg keep-alive?
> May be try to change the keep-alive to a longer period.
> Also (and I have 0 experience with iOS), a keep-alive packet my wake
> up the phone, and let it stay awake for some longer-than-needed
> interval (e.g. 5 minutes).
> Try to have a look at what actually eats the battery: CPU, radio, screen?
>
> Cheers,
> Kalin.
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
[-- Attachment #1.2: Type: text/html, Size: 1701 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: iOS WG Battery Life
2019-03-01 10:08 ` Kalin KOZHUHAROV
2019-03-02 0:30 ` Mark Finzel
@ 2019-03-02 7:29 ` kolargol
[not found] ` <EA2CDA40-8988-4C4F-B848-B2F7C6D8716C@lonnie.abelbeck.com>
1 sibling, 1 reply; 10+ messages in thread
From: kolargol @ 2019-03-02 7:29 UTC (permalink / raw)
To: wireguard
I am comparing battery to OpenVPN (typical drop do not pass 10% in same conditions), or without VPN at all - max 7%
During nighttime there is no activity, also i have disabled keep-alives (PersistentKeepalive) - tried with and without - no big difference.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, March 1, 2019 11:08 AM, Kalin KOZHUHAROV <me.kalin@gmail.com> wrote:
> On Fri, Mar 1, 2019 at 11:03 AM kolargol kolargol@protonmail.com wrote:
>
> > I am testing WG on varius OSes and devices and I have noted severe battery drain on iOS (12.2, iPhone 8). Typically battery drops 40% during night-time (that is 7 hours of inactivity on the phone) when WireGuard is engaged.
>
> Compared to how much during night without activated WireGuard?
>
> > Is this some kind of known issue? I did not had chance to test previous iOS version without SIMD ChaCha20 support so i cannot tell if it is becouse of the last update.
> > Anything i can do to track issue here?
>
> Is there anything using the interface, or just wg keep-alive?
> May be try to change the keep-alive to a longer period.
> Also (and I have 0 experience with iOS), a keep-alive packet my wake
> up the phone, and let it stay awake for some longer-than-needed
> interval (e.g. 5 minutes).
> Try to have a look at what actually eats the battery: CPU, radio, screen?
>
> Cheers,
> Kalin.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: iOS WG Battery Life
2019-02-28 12:07 iOS WG Battery Life kolargol
2019-03-01 10:08 ` Kalin KOZHUHAROV
@ 2019-03-06 10:32 ` kolargol
1 sibling, 0 replies; 10+ messages in thread
From: kolargol @ 2019-03-06 10:32 UTC (permalink / raw)
To: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 1389 bytes --]
After few days of testing and digging i found nothing wrong with WireGuard... it turned out that for some reason after using WireGuard, WiFi Calling and/or VoLTE started to go crazy and eat up battery.
After disabling both features and with WG in Damand mode (always on) and 8h battery dropped shocking 2% ...
now, you/I can dismiss that report or try to find why Wi-Fi Calling and VoLTE going crazy with wireguard enabled. It might be bug in iOS, bug in T-Mobile implementation, bug in CFNetwork, or vpn extension, who knows. If you have ideas about that let me know.
thanks all for listening.
__
kolargol
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, February 28, 2019 1:07 PM, kolargol <kolargol@protonmail.com> wrote:
> Hi
>
> Thanks for great work with Wireguard, it's fresh breeze of air compared on years spend on OpenVPN...
>
> I am testing WG on varius OSes and devices and I have noted severe battery drain on iOS (12.2, iPhone 8). Typically battery drops 40% during night-time (that is 7 hours of inactivity on the phone) when WireGuard is engaged.
> Is this some kind of known issue? I did not had chance to test previous iOS version without SIMD ChaCha20 support so i cannot tell if it is becouse of the last update.
>
> Anything i can do to track issue here?
>
> thanks,
> kolargol
[-- Attachment #1.2: Type: text/html, Size: 1975 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-03-08 15:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 12:07 iOS WG Battery Life kolargol
2019-03-01 10:08 ` Kalin KOZHUHAROV
2019-03-02 0:30 ` Mark Finzel
2019-03-02 7:29 ` kolargol
[not found] ` <EA2CDA40-8988-4C4F-B848-B2F7C6D8716C@lonnie.abelbeck.com>
2019-03-02 19:54 ` kolargol
2019-03-02 20:09 ` John
2019-03-02 20:50 ` Mailing Lists
2019-03-03 15:30 ` kolargol
2019-03-02 21:22 ` Lonnie Abelbeck
2019-03-06 10:32 ` kolargol
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).