Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insane battery usage! #179

Open
InoSiX opened this issue Feb 26, 2025 · 1 comment
Open

Insane battery usage! #179

InoSiX opened this issue Feb 26, 2025 · 1 comment

Comments

@InoSiX
Copy link

InoSiX commented Feb 26, 2025

This has been an on going issue for sometime. I know I'm not the only one to experience this as I have found others complaining about it. This is not specific to a version of Revanced or MicroG and has been a thorn in my sides for a few years.

Revanced is using an insane amount of battery, making my phone hot, while the app remains in memory even when not playing a video. While doing research as to why Revanced does this while YouTube proper doesn't, I stumbled into a few solutions that involved setting MicroG battery optimizations to "Optimize". This immediately corrected the issue with no side effect I have personally observed.

The problem is every time I open Revanced complains about this MicroG setting and prompts me to resolve this issue. To maintain this fix, I must hit "Deny". Failure to do so causes my battery to drain like it has a hole in it.

I recently observed my battery draining abnormally fast. I checked "Battery" under Android settings and the culprit was Revanced. I instinctively went to MicroG and observed battery optimizations were set to unrestricted, likely meaning I failed to deny this change at some point inadvertently.

Revanced, when prompting me to set MicroG to unrestricted, suggests battery life will not be negatively affected. This is hog wash.

I'm sick of seeing this Revanced dialog. It is getting old. I shouldn't need to keep denying this request as if I'm a vanguard protecting my virginity. I have no idea why this work around works but it definitely does. The fault could indeed be Revanced, as perhaps it is spamming application calls to MicroG (after all, "Battery" suggests the battery usage is Revanced not MicroG).

Why does seeing MicroG to optimized cause Revanced to not destroy my battery life?

@oSumAtrIX
Copy link
Member

Send a logcat (research online how) at the time you think it drains battery. If the log shows something usable, I'll keep the issue open, otherwise dupe of #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants