Skip to content

Add Battery Percentage Display Feature - #2016

Open
yug49 wants to merge 3 commits into
KeystoneHQ:masterfrom
yug49:feature/battery-percentage-display
Open

Add Battery Percentage Display Feature#2016
yug49 wants to merge 3 commits into
KeystoneHQ:masterfrom
yug49:feature/battery-percentage-display

Conversation

@yug49

@yug49 yug49 commented Dec 3, 2025

Copy link
Copy Markdown

 Added a new feature that allows users to toggle the display of battery percentage in the status bar.

Details

  • Added battery percentage label to the status bar that shows quantized battery levels.
  • Added toggle switch in Display Settings to enable/disable battery percentage visibility
  • Battery percentage setting is persisted across app restarts
  • Quantized Display: Battery percentage is shown in 20% increments with hysteresis to prevent flickering:
    Actual % Discharging Charging
    0-20% 20% 0%
    21-40% 40% 20%
    41-60% 60% 40%
    61-80% 80% 60%
    81-100% 100% 80%
    95%+ (charging) - 100%

Before

Screenshot 2025-12-03 at 2 06 11 PM

After

Screenshot 2025-12-03 at 3 17 43 PM Screenshot 2025-12-03 at 3 41 28 PM

With USB icon
Screenshot 2025-12-03 at 3 55 06 PM

Related Issue

Closes #1976

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.

Add an option to show battery percentage

1 participant