longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Battery drains after installed Openvpn for android #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Battery drains after installed Openvpn for android.
I noticed Openvpn is very expensive by charge battery power.
please tune it , using less power, than we could play more times.

you could monitor the battery status, the issue can be easily produced.

Original issue reported on code.google.com by hufeng1...@gmail.com on 26 Oct 2012 at 1:20

GoogleCodeExporter commented 9 years ago
Battery consumption is very dependent on your used VPN. If you have a keepalive 
10 60 settings which means two packets every 10 seconds. I have TCP VPN with 
keepalive 1800 4000 which has only a small drain on the battery.

Unfortunately the client cannot change the keepalive setting 

Original comment by arne@rfc2549.org on 26 Oct 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Thanks for you tips. i changed my openvpn server setting.
from keepalive 10 120 to keepalive 1800 3600

full configure tutorial : http://www.netroby.com/view.php?id=2682

Original comment by hufeng1...@gmail.com on 26 Oct 2012 at 8:24