iOS WG Battery Life
lists at lonnie.abelbeck.com
Sat Mar 2 22:22:51 CET 2019
As a single data point test, I borrowed my wife's iPod Touch
iPod Touch (6th gen., A8 processor)
iOS WireGuard v1.0.3
* Charged to 100%
* Enable WiFi only (Bluetooth disabled, no LTE) and WireGuard enabled
* No PersistentKeepalive enabled at either WG endpoint
* Swiped-close all running apps
* Let sit idle
* After 6 hours, battery reads 99% charged
Monitoring WG traffic at the "server" end, over 6 hours the delta traffic is:
0.26 MiB received, 0.30 MiB sent
It appears iOS generates packets about every 20 minutes or so.
> On Mar 2, 2019, at 1:54 PM, kolargol <kolargol at protonmail.com> wrote:
>> Possibly, is PersistentKeepalive defined at the "server" endpoint for your iOS peer ?
>> I would expect a measurable additional battery usage if either peer endpoint had PersistentKeepalive defined (non-zero).
> Both server and peer have PersistentKeepalive disabled, there is no fancy apps runnign in backgroud - and i am using exac same WiFi and VPN endpoint (for OpenVPN and WG comparision).
> WiFI connection is stable and have strong signal, same with LTE.
> The battery grap shows sharp down in the night as something continuesly draing battery (here wg)
> How can i debug it ?
More information about the WireGuard