3 ms·
> The only downside I've notice is slightly increased battery consumption on my phone, but that's to be expected (it uses approximately 5% of the battery per da
by zx2c4 8y ago
> The only downside I've notice is slightly increased battery consumption on my phone, but that's to be expected (it uses approximately 5% of the battery per day).
Note that if you run a phone that has the WireGuard kernel module (rather than the userspace implementation), battery usage winds up being basically nil in my tests.
As for the userspace fallback, we expect performance (and hence battery life) to increase on that once these are merged:
https://go-review.googlesource.com/c/crypto/+/107628 https://go-review.googlesource.com/c/crypto/+/107628
https://go-review.googlesource.com/c/crypto/+/105896 https://go-review.googlesource.com/c/crypto/+/105896
- craftyguy 8y ago>Note that if you run a phone that has the WireGuard kernel module I wonder if LineageOS plans to include this module..
- zx2c4 8y agoI've been working on it with them actually. We'll see where that goes.
- craftyguy 8y agoWow one of my favorite FLOSS developers replied to me! Hopefully they (lineageos) adopt it, it would be a HUGE improvement over the native android VPN options and openvpn.
- apexalpha 8y agoWould adding such a module break SafetyNet? Can you even add modules to the Android ROM / Kernel and then relocking bootloader and disabling root access?
- craftyguy 8y agoNot everyone cares about 'safetynet', and LineageOS does not support secureboot-style locked bootloader booting. You can literally build the ROM with any kernel modules you want, provided the module has been backported to the almost-guaranteed ancient kernel your device needs for initializing/using its hardware.