Skip to content

refactor(utils): return Boolean, improve exception handling and UX fo…#16453

Draft
joshtrichards wants to merge 4 commits into
masterfrom
jtr/refactor-BatteryOptimizationHelper
Draft

refactor(utils): return Boolean, improve exception handling and UX fo…#16453
joshtrichards wants to merge 4 commits into
masterfrom
jtr/refactor-BatteryOptimizationHelper

Conversation

@joshtrichards

Copy link
Copy Markdown
Member

…r battery optimization launcher

Adds a useful Boolean return value
Improves maintainability and modularity
Narrows exception handling to only expected failures Optimizes user navigation UX

  • Tests written, or not not needed

…r battery optimization launcher

Adds a useful Boolean return value
Improves maintainability and modularity
Narrows exception handling to only expected failures
Optimizes user navigation UX

Signed-off-by: Josh <josh.t.richards@gmail.com>
* Show an error message if settings cannot be opened
* Manual handle the positive button click to ensure the dialog stays 
visible if there's an error

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown

test-Unit test failed, but no output was generated. Maybe a preliminary stage failed.

@alperozturk96

Copy link
Copy Markdown
Collaborator

Hi! Thanks for your contribution.

This PR has been in draft for some time, so we'd like to check whether you're still planning to work on it.

If the PR is still valid and you intend to continue, please mark it as Ready for Review (remove the draft status) and add the review label. We'll then be happy to take a look.

If you no longer plan to continue with this PR, please let us know so we can keep the backlog up to date.

Thanks!

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