Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Currently, the battery consumption is uber high. Power consumption hasn’t been analyzed but it highly likely it is due to all the traffic filtering that occurs in the name of Firewall and the full-tunnel VPN in-use (routing

Split-tunnel DNS:

If the user needs just the DNS (without firewall), probably it is best to add only port 53 (split-tunnel) to the routes when vpn-service is built / started / re-started. This might be a preferable default, too?

VPN Blackhole:

If the user just needs Firewall (without connection tracking #3 and #16 and DNS), VPN could be run as a blackhole (without creating a forwarding tunnel) wherein all incoming packets from allowed apps end up going exactly no where.

App Kill:

Kill apps that are firewalled. The connections from the app are blocked anyway and so if those apps aren’t in the foreground they only end up draining extra power by retrying repeatedly to connect.

The UI might be tricky to get right, I am thinking, probably a user preference in the DNS and Firewall screen to enable low battery mode, with a prompt on the homescreen with a clickable chip to enable it (when device battery is low).

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

Rustlang4Futurecommented, Dec 1, 2021

Blackhole mode of firewall is great idea.

The “glasswire” app in android already do that.

(It doesn’t have internet permission yet it blocks apps by creating a local vpn)

Also i have some more suggestions, you can add an option to disable anything that can increase battery usage like showing website icons, estimating dns response time, and disabling reverse dns (if you have it to estimate and show what website is using an ip)

Best regards.

ignoramouscommented, Oct 14, 2022

app kill, since it doesn’t work, has been removed in v053k (released today).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Low Power Mode to save battery life on your iPhone or iPad
Low Power Mode reduces the amount of power that your iPhone or iPad uses when the battery gets low. To turn Low Power...
Read more >
This Is What Your iPhone's Low Power Mode Really Does
Low Power Mode is a feature that reduces the amount of power your iPhone uses, which extends the life of its battery.
Read more >
How your phone's low power mode really works
Going into low power mode means your phone will run these tasks less often—registering incoming emails or updating news stories, for example.
Read more >
What Happens if You Keep Your iPhone in Low Power Mode ...
Low Power Mode is an iOS setting that disables some iPhone features to save battery charge when it is low. Your iPhone will...
Read more >
How to Use Low Power Mode on an iPhone (and What Exactly ...
To activate Low Power Mode from the Settings app, head to Settings > Battery and activate the “Low Power Mode” slider. The battery...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found