TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.38k stars 3.05k forks source link

Newpipe searches for new videos in airplane mode, which causes significant battery drain #11540

Open Azertixe opened 1 month ago

Azertixe commented 1 month ago

Checklist

Affected version

0.27.2

Steps to reproduce the bug

Let Newpipe open. Put airplane mode on. Wait some hours. When airplane mode is switched to off we see a task looking for new feeds. I have to force close Newpipe to get it working again.

Expected behavior

Newpipe should not search for new videos when internet connection is down.

Actual behavior

Newpipe is always looking for new videos when airplane mode is on which causes significant battery drain (20 to 30%).

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Fairphone OS (Android 13)

Affected device model

Fairphone 4

Additional information

No response

Azertixe commented 3 weeks ago

Screenshot_20240922-115338

opusforlife2 commented 3 weeks ago

What's your checking frequency for new stream notifications?

Azertixe commented 3 weeks ago

Hi. Thanks for your message. I changed to 15 minutes a few days ago but i have the problem already 🫤

opusforlife2 commented 3 weeks ago

And what's your feed update threshold?

Azertixe commented 3 weeks ago

I'am not sure to understand. I checked any network. Not "only wifi".

Le mer. 25 sept. 2024, 16:22, opusforlife2 @.***> a écrit :

And what's your feed update threshold?

— Reply to this email directly, view it on GitHub https://github.com/TeamNewPipe/NewPipe/issues/11540#issuecomment-2374235609, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQAWPYIAB2CCCEMNWF3NRDZYLBIXAVCNFSM6AAAAABOKWI3N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGIZTKNRQHE . You are receiving this because you authored the thread.Message ID: @.***>

opusforlife2 commented 3 weeks ago

Under Settings > Content, scroll to the bottom.

Azertixe commented 3 weeks ago

Oh ok, thx. It's set to 15min

Le mer. 25 sept. 2024, 16:44, opusforlife2 @.***> a écrit :

Under Settings > Content, scroll to the bottom.

— Reply to this email directly, view it on GitHub https://github.com/TeamNewPipe/NewPipe/issues/11540#issuecomment-2374302350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQAWPYJY4ZW2OHWROW4SOTZYLD27AVCNFSM6AAAAABOKWI3N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGMYDEMZVGA . You are receiving this because you authored the thread.Message ID: @.***>

opusforlife2 commented 2 weeks ago

Does battery drain reduce or go away if you increase the feed update threshold to several hours or a day?

Azertixe commented 2 weeks ago

I set it to 6 hours, no change.

It's a problem because i start my working day with 70 to 80% of battery :/

Le jeu. 3 oct. 2024, 15:43, opusforlife2 @.***> a écrit :

Does battery drain reduce or go away if you increase the feed update threshold to several hours or a day?

— Reply to this email directly, view it on GitHub https://github.com/TeamNewPipe/NewPipe/issues/11540#issuecomment-2391460289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQAWP43B4OFCQESOF2JAOLZZVCWLAVCNFSM6AAAAABOKWI3N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRGQ3DAMRYHE . You are receiving this because you authored the thread.Message ID: @.***>

opusforlife2 commented 1 week ago

Yikes. Definitely a problem that needs to be addressed.

As a workaround for now, you could set the refresh interval to something long like 12 hours or a day. If your phone is in airplane mode for several hours anyway, might as well prevent Newpipe from trying to look for updates in that duration.

Azertixe commented 1 week ago

Good evening. I agree with you about the night, but during the day I like to be up to date with the news fairly quickly. I'm still going to put myself on 12 hours to see what that gives. I'll keep you informed...

Le lun. 7 oct. 2024, 18:33, opusforlife2 @.***> a écrit :

Yikes. Definitely a problem that needs to be addressed.

As a workaround for now, you could set the refresh interval to something long like 12 hours or a day. If your phone is in airplane mode for several hours anyway, might as well prevent Newpipe from trying to look for updates in that duration.

— Reply to this email directly, view it on GitHub https://github.com/TeamNewPipe/NewPipe/issues/11540#issuecomment-2397396556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQAWP5QAHUHADKJQJE4MLTZ2KZXJAVCNFSM6AAAAABOKWI3N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJXGM4TMNJVGY . You are receiving this because you authored the thread.Message ID: @.***>