Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.39k stars 1.36k forks source link

Android 8 battery drain #710

Open Pernat1y opened 4 years ago

Pernat1y commented 4 years ago

Describe the bug After some time, Outline on Android started to heavily consume battery.

To Reproduce Steps to reproduce the behavior:

  1. Install Outline client
  2. Connect to server on DigitalOcean
  3. Get battery drained

Expected behavior Not to consume battery like crazy

Screenshots Screenshot_20191202-083402_Settings Screenshot_20191202-083411_Settings Screenshot_20191202-083930_Google Play Store

Smartphone (please complete the following information):

Submit Feedback Done

LBYPatrick commented 4 years ago

This is normal. The percentage of battery drained by Outline equals to the sum of all networking activities on your phone, not just Outline itself.

To address this issue, please download Greenify and see what app is constantly "waking up" your phone while the screen is locked. Then, limit their background activities to save battery. In China, for example, Telegram and Google Sync are likely the main sources of battery drain.

However, it is still possible that Outline is causing the problem. Please try to download shadowsocks-android, which is the app that uses the same shadowsocks protocols as Outline. If this helps, then it would be Outline.