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

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

Open
6 tasks done
Azertixe opened this issue Sep 17, 2024 · 11 comments
Open
6 tasks done
Labels
bug Issue is related to a bug new stream notification Feature: notification shown for new videos

Comments

@Azertixe
Copy link

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

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 Azertixe added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Sep 17, 2024
@Azertixe
Copy link
Author

Screenshot_20240922-115338

@opusforlife2
Copy link
Collaborator

What's your checking frequency for new stream notifications?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@Azertixe
Copy link
Author

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

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@opusforlife2
Copy link
Collaborator

And what's your feed update threshold?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@Azertixe
Copy link
Author

Azertixe commented Sep 25, 2024 via email

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@opusforlife2
Copy link
Collaborator

Under Settings > Content, scroll to the bottom.

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@Azertixe
Copy link
Author

Azertixe commented Sep 25, 2024 via email

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Sep 25, 2024
@opusforlife2
Copy link
Collaborator

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

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 3, 2024
@Azertixe
Copy link
Author

Azertixe commented Oct 6, 2024 via email

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 6, 2024
@opusforlife2
Copy link
Collaborator

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.

@opusforlife2 opusforlife2 added new stream notification Feature: notification shown for new videos and removed needs triage Issue is not yet ready for PR authors to take up labels Oct 7, 2024
@Azertixe
Copy link
Author

Azertixe commented Oct 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug new stream notification Feature: notification shown for new videos
Projects
None yet
Development

No branches or pull requests

2 participants