Skip to content

feat: added support for custom upower devices - #357

Open
gabrielramos02 wants to merge 2 commits into
wayle-rs:masterfrom
gabrielramos02:master
Open

feat: added support for custom upower devices#357
gabrielramos02 wants to merge 2 commits into
wayle-rs:masterfrom
gabrielramos02:master

Conversation

@gabrielramos02

Copy link
Copy Markdown

Fixes #355

Objective

In my system, upower those not expose capacity for the DisplayDevice, so i was not able to see the battery health in the dropdown menu.

Solution

I added a new config option and updated the BatteryService builder to use the custom device when available

Test Plan

  • cargo fmt --all -- --check
  • cargo clippy --workspaces

@gabrielramos02 gabrielramos02 changed the title Added support for custom upower devices feat: added support for custom upower devices Aug 26, 2026
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.

Battery Health not showing

1 participant