# Blokada v5 consumes (drains) too much battery

**URL:** <https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702>\
**Category:** Android\
**Created:** [November 6, 2020, 12:42pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702 "2020-11-06T12:42:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/peter/32/146_2.png) [@Peter](https://community.blokada.org/u/Peter)\
**Post date:** [November 6, 2020, 12:42pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/1 "2020-11-06T12:42:38Z")

</div>

Recently we receive reports regarding Blokada consuming too much battery and we would like to assist you to narrow it down a bit.

It worth to know the DoH implementation may consumes some additional energy, thus, first turn off DNS encryption: Settings - This device - Use DNS over HTTPS: set it to “No”. Please note the DNS requests won’t be encrypted after you do it. Check if the battery consumption lowers.  
If not, open Blokada’s log. Go to the main screen, tap the 3 dots in the top right corner, choose “Logs”. Search for the below messages (in very big numbers):  
`PLForwarde Forwarder reached 1024 open sockets`  
It indicates Blokada received a very huge number of DNS requests and the number of open sockets reached the max limit. In such case, Blokada tries to kill this sockets and restart. This is the procedure that consumes the battery, and this is why you see Blokada uses a lot of energy. In such case it is recommended to check the Activity tab in Blokada to see which hosts are being accessed, it can help to identify which app or apps are generating too much traffic.  
Additionally you can use a battery analyser app that will show which apps are running. If your device isn’t rooted, you may try [AccuBattery](https://play.google.com/store/apps/details?id=com.digibites.accubattery). [BetterBatteryStats](https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) can be used on non-rooted and rooted devices too, however, in the first case you need to grant additional permissions:  
adb -d shell pm grant com.asksven.betterbatterystats android.permission.BATTERY\_STATS  
adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP  
In case you don’t yet have adb, [refer to this guide](https://www.xda-developers.com/install-adb-windows-macos-linux/).  
Unfortunately Blokada’s log won’t show which application/s, process/es or service/s querying the DNS server, hence it won’t ship the information to determine what causes the bottleneck.

---

<div class="post-metadata">

**Author:** ![Samo\_Spiler](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/samo_spiler/32/5477_2.png) [@Samo\_Spiler](https://community.blokada.org/u/Samo_Spiler)\
**Post date:** [December 7, 2020, 6:17pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/2 "2020-12-07T18:17:08Z")

</div>

I think the battery drain problem would be fixed if you bring the “smart list” feature from blokada4. I know its in beta but it works perfectly in my opinon (samsung s9)

---

<div class="post-metadata">

**Author:** ![Peter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/peter/32/146_2.png) [@Peter](https://community.blokada.org/u/Peter)\
**Post date:** [December 7, 2020, 7:43pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/3 "2020-12-07T19:43:41Z")

</div>

Smart list lowers the memory footprint, has no effect on the battery consumption.

---

<div class="post-metadata">

**Author:** ![Mr\_Luis](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/mr_luis/32/5695_2.png) [@Mr\_Luis](https://community.blokada.org/u/Mr_Luis)\
**Post date:** [December 8, 2020, 1:06am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/4 "2020-12-08T01:06:25Z")

</div>

Using blokada 5 on new note 20 ultra and i get 2h screen, and overall 12h battery life. So terrible. And it seems blokada consumes most of it!

I get the max socket message as described above all the time.

No idea what to do. Most blokada is blocking is Google and amazon analytics stats. Any idea how to reduce the battery consumption?

---

<div class="post-metadata">

**Author:** ![honestbleeps](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/honestbleeps/32/5892_2.png) [@honestbleeps](https://community.blokada.org/u/honestbleeps)\
**Post date:** [December 14, 2020, 4:38pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/5 "2020-12-14T16:38:34Z")

</div>

I have this issue, but dns over https is already off.

My Samsung s20 ultra even warns me blokada is using too much CPU / battery.

Any other suggestions? Never had this happen with blokada 4.

Thanks for all you do!

---

<div class="post-metadata">

**Author:** ![PrintableCharacter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/printablecharacter/32/88_2.png) [@PrintableCharacter](https://community.blokada.org/u/PrintableCharacter)\
**Post date:** [December 14, 2020, 8:07pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/6 "2020-12-14T20:07:31Z")

</div>

Hi,  
Did you read the complete guide? There are more suggestions than just turning DoH off

---

<div class="post-metadata">

**Author:** ![honestbleeps](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/honestbleeps/32/5892_2.png) [@honestbleeps](https://community.blokada.org/u/honestbleeps)\
**Post date:** [December 14, 2020, 8:21pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/7 "2020-12-14T20:21:01Z")

</div>

Yes, I did… I do see that same error message but the top hosts are unfortunately very generic analytics endpoints – though one of them is related to Audible, it looks like, the rest are just things like google analytics and flurry.

I’ve had gsam battery monitor with proper ADB accessf or a long time, and nothing much sticks out as helpful besides Blokada consuming lots of battery. It didn’t use to w/v4

---

<div class="post-metadata">

**Author:** ![Kruemelmonster](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/kruemelmonster/32/5932_2.png) [@Kruemelmonster](https://community.blokada.org/u/Kruemelmonster)\
**Post date:** [December 16, 2020, 7:58pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/8 "2020-12-16T19:58:09Z")

</div>

It’s absolutely the same for me.

---

<div class="post-metadata">

**Author:** ![cm-mc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/cm-mc/32/5955_2.png) [@cm-mc](https://community.blokada.org/u/cm-mc)\
**Post date:** [December 17, 2020, 4:54pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/9 "2020-12-17T16:54:31Z")

</div>

Haven’t noticed anything unusal, here (S9+); battery usage is at 8.9%, next up is One UI Home at 2.9%, but before that are file and web browsers at over 20 and 30% usage, respectively (I have battery optimization disabled for Blokada and others, btw - no DoH either).

---

<div class="post-metadata">

**Author:** ![Kruemelmonster](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/kruemelmonster/32/5932_2.png) [@Kruemelmonster](https://community.blokada.org/u/Kruemelmonster)\
**Post date:** [December 17, 2020, 5:18pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/10 "2020-12-17T17:18:19Z")

</div>

Google Pixel 4a here.

My log is full of this sometimes:  
PLForwarde Forwarder reached 1024 open sockets

But there are no unusual activities.

I’m using BetterBatteryStats and only Blokada 5 sticks out there. When I deactivate Blokada 5, everything is normal. I didn’t have this issue with Blokada 4.

---

<div class="post-metadata">

**Author:** ![Peter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/peter/32/146_2.png) [@Peter](https://community.blokada.org/u/Peter)\
**Post date:** [December 18, 2020, 8:23am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/11 "2020-12-18T08:23:01Z")

</div>

Blokada 5 will stick out due to the nature of the ad filtering.  
When you start Blokada, it generates a VPN tunnel to filter ads (don’t mix it with Blokada+, the real VPN service). Every non-bypassed app will communicate through this tunnel, it means the more apps you have (and not bypassed), the more requests Blokada must process. If you have a lot of requests, Blokada will be very active, and this is why you see that is “drains” battery.  
To avoid overloading and crashes, Blokada 5 has a limit (that is the forwarder that is reached 1024 open sockets). When this limit is reached, Blokada will kill the sockets.  
The problem here is that we do not know _what/which_ processes (apps) are generating the tons of requests (just as I wrote above, in the initial description).  
In BBS, you must check the 2nd, 3rd, etc apps, what they are, what they do.  
Also worth to check on the Analysis screen in Blokada which hosts are the most accessed, you might get a hunch.

---

<div class="post-metadata">

**Author:** ![Kruemelmonster](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/kruemelmonster/32/5932_2.png) [@Kruemelmonster](https://community.blokada.org/u/Kruemelmonster)\
**Post date:** [December 18, 2020, 8:50am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/12 "2020-12-18T08:50:23Z")

</div>

Okay thanks. I can’t see any abnormalities in BBS and on the activities screen. I have now bypassed all apps except the ones that I want to explicitly block. I am curious how it will behave.

---

<div class="post-metadata">

**Author:** ![Kruemelmonster](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/kruemelmonster/32/5932_2.png) [@Kruemelmonster](https://community.blokada.org/u/Kruemelmonster)\
**Post date:** [December 18, 2020, 9:24am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/13 "2020-12-18T09:24:47Z")

</div>

I bypassed every installed and system app. And I still get this log message:

> [@Kruemelmonster](#):
>
> PLForwarde Forwarder reached 1024 open sockets

Edit: I found out that I can reproduce this behavior when I am using the Eufy Security App, even when it is bypassed (and also every other app is bypassed) and even when I only get a push notification from it.

---

<div class="post-metadata">

**Author:** ![razorsoup](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/razorsoup/32/2801_2.png) [@razorsoup](https://community.blokada.org/u/razorsoup)\
**Post date:** [December 19, 2020, 1:29am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/14 "2020-12-19T01:29:27Z")

</div>

“Unfortunately Blokada’s log won’t show which application/s, process/es or service/s querying the DNS server, hence it won’t ship the information to determine what causes the bottleneck.”

It would be really helpful if Blokada would log what app or process is making the requests. I’ve been having this issue for a while and can’t figure out what is making the requests.

If I turn Blokada off and back on my phone will run for a couple of days before I start getting that “Forwarder reached 1024 open sockets” message in the logs again.

---

<div class="post-metadata">

**Author:** ![Peter](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/peter/32/146_2.png) [@Peter](https://community.blokada.org/u/Peter)\
**Post date:** [December 19, 2020, 2:00pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/15 "2020-12-19T14:00:55Z")

</div>

Due to Android’s app isolation, currently it seems to be impossible without rooting the device. One app can’t see what an other app does, only if the app has root privileges.

---

<div class="post-metadata">

**Author:** ![razorsoup](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/razorsoup/32/2801_2.png) [@razorsoup](https://community.blokada.org/u/razorsoup)\
**Post date:** [December 19, 2020, 8:25pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/16 "2020-12-19T20:25:10Z")

</div>

Any insight into why toggling Blokada off and on causes the problem to resolve for a few days? As far as I’ve been able to determine, there’s nothing on my phone rapidly making a ton of network requests. And if there were, I’d kind of expect the behavior to return rapidly after toggling Blokada.

---

<div class="post-metadata">

**Author:** ![cohoman](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@cohoman](https://community.blokada.org/u/cohoman)\
**Post date:** [December 20, 2020, 3:47am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/17 "2020-12-20T03:47:39Z")

</div>

I’m having the same issues with my Samsung S10, huge battery drain and warning from the system that Blokada is using a lot of battery power. If I can identify the app or apps causing this drain with Blokada, what would I do next?

---

<div class="post-metadata">

**Author:** ![Etienne\_Jouneau](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/etienne_jouneau/32/2083_2.png) [@Etienne\_Jouneau](https://community.blokada.org/u/Etienne_Jouneau)\
**Post date:** [December 21, 2020, 8:47am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/18 "2020-12-21T08:47:33Z")

</div>

Hy everybody!

Same problem here with my Xiaomi Mi 10.  
I’m so 😡 against Blokada v5.  
I haven’t problem with v4.

Today my battery drain from 100 to 75 % in 2 hours.  
Th only one solution =\> disable Blokada 😟

---

<div class="post-metadata">

**Author:** ![cohoman](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@cohoman](https://community.blokada.org/u/cohoman)\
**Post date:** [December 27, 2020, 2:51am UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/19 "2020-12-27T02:51:55Z")

</div>

I turned off the battery optimization on my Galaxy S10 for the Blokada app and thought that fixed the issue (which it did for a few days), but again I get the high CPU usage warning system message and huge battery drain. I’m going to uninstall v5 and go back to v4.

---

<div class="post-metadata">

**Author:** ![cm-mc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/cm-mc/32/5955_2.png) [@cm-mc](https://community.blokada.org/u/cm-mc)\
**Post date:** [January 8, 2021, 4:05pm UTC](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702/20 "2021-01-08T16:05:16Z")

</div>

Yeah, v4 is using 0.2% battery on my S9+, OneUI 2.5; compare that to 8.9% for v5, from my comment above…

[Next page](https://community.blokada.org/t/blokada-v5-consumes-drains-too-much-battery/6702.md?page=2)
