Battery drain from YouTube Music due to Google Tag getting blocked
See original GitHub issueFirst reported by XDA: https://www.xda-developers.com/psa-using-an-ad-blocker-a-bug-in-google-play-music-may-be-draining-your-battery/
It seems like this is still the case with YouTube Music: https://twitter.com/arter97/status/1397973993529823233
The app retries the connection to Google Tag without any sleep, resulting in consuming a CPU core 100% (this is a 8 core phone, so anything higher than 12.5% is consuming an entire core) and causing massive battery drains on Android.
While it seems to be the case that Google Tag is used for analytics, causing a massive battery drain over it isn’t worth it.
The issue is gone after removing:
www.googletagmanager.com
www-googletagmanager.l.google.com
googletagmanager.com
googletagservices.com
www.googletagservices.com
One thing I found weird is that the hosts file here already whitelists www.googletagservices.com for some reason, but is overridden with another non-commented entries:
# 0.0.0.0 www.googletagmanager.com #[affects ASUS]
#0.0.0.0 www.googletagservices.com #interferes with techrepublic
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
@dnmTX not from @arter97. I recognize the name from XDA. They’ve been doing Android kernel stuff for 5+ years. Other blocklists can catch it for web-based traffic and whatnot but the Adaway list is specifically for mobile app things so I’d rather Adaway itself not affect Android performance.
Most of those domains are included by several other curators. So this has little or no practical effect on this list.
Which is fine by me. 👀