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

fix: stream preview power #1204

Closed
wants to merge 16 commits into from
Closed

fix: stream preview power #1204

wants to merge 16 commits into from

Conversation

SputNikPlop
Copy link
Collaborator

The intent of this is if the battery falls below 20% not charging and not in battery saving mode show the prompt that stream preview takes up lots of battery, then if the battery falls below 5% disable the stream preview if open

@SputNikPlop
Copy link
Collaborator Author

@kevmo314 Anything else to add to this?

@@ -11,6 +11,7 @@ dependencies:
flutter:
sdk: flutter
audioplayers: ^6.0.0
battery_plus: ^5.0.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I think the idea is interesting but I don't think it's worth further increasing our bundle size for this. Right now the prompt shows after a timer which wouldn't have any dependency impact.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This though would be shared anyway if #1202 would still be implemented. Same thoughts on that one as well?

@SputNikPlop SputNikPlop deleted the power branch August 22, 2024 05:18
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

Successfully merging this pull request may close these issues.

2 participants