Skip to content

[feat(Island)] Added a battery alerts plugin to show alerts for charging, low battery and critical battery - #1254

Open
ssethhyy wants to merge 9 commits into
sameerasw:developfrom
ssethhyy:feature/island-battery-alerts
Open

ssethhyy wants to merge 9 commits into
sameerasw:developfrom
ssethhyy:feature/island-battery-alerts

Conversation

@ssethhyy

@ssethhyy ssethhyy commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds a plugin for Island that shows alerts on battery indicators like charging, low battery and critical battery. It shows in a long view across the maximum width of the island. It shows the percentage in the right and the battery on the left alongside text displaying what is happening (charging, low battery, critical battery).

Type of change

  • Bug fix
  • New feature
  • UI / visual update
  • Performance improvement
  • Refactoring / cleanup
  • Translations
  • Build / CI tooling

UI changes

Screenshot_20261004-103254
**Screenshot of Island showing charging alert**


Screenshot_20261004-103149 Screenshot_20261004-103154
**Screenshots of the battery alerts option inside the Island settings**

Checklist

Before submitting, please make sure:

  • The base branch is set to develop (not main).
  • The app builds cleanly locally with ./gradlew assembleDebug.
  • Unit tests pass with ./gradlew testDebugUnitTest.
  • You tested the changes on a device or emulator (including Shizuku or Root if applicable).
  • New preferences use SettingsRepository for keys and getter/setter methods.
  • New user-facing settings are registered in FeatureRegistry.kt for search indexing.
  • New UI follows the design system in ui/core/ (RoundedCardContainer, IconToggleItem, etc.).
  • Strings are added to res/values/strings.xml and drawables use rounded variants (R.drawable.rounded_*).

@ssethhyy
ssethhyy requested a review from sameerasw as a code owner October 4, 2026 00:23
Copilot AI balanced review requested due to automatic review settings October 4, 2026 00:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

3 participants