Skip to content

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Nov 28, 2025

  • Tests written, or not not needed

Checks isBatteryOptimizationEnabled only via POWER_SERVICE
If unable to start ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS fallback to ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS.
Checks activity resumed or not before creating dialog
Uses package name from given context

@alperozturk96 alperozturk96 force-pushed the fix/battery-optimization-check branch from 2d40667 to e683c4b Compare November 28, 2025 14:25
@github-actions
Copy link

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

@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4242
Correctness7474
Dodgy code276267
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4848
Security1818
Total503494

@github-actions
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants