Skip to content

feat(agent): add BATTERY_DEVICES env var to filter battery devices#1938

Open
StarsEnd33A2D17 wants to merge 1 commit intohenrygd:mainfrom
StarsEnd33A2D17:feat/battery-devices-filter
Open

feat(agent): add BATTERY_DEVICES env var to filter battery devices#1938
StarsEnd33A2D17 wants to merge 1 commit intohenrygd:mainfrom
StarsEnd33A2D17:feat/battery-devices-filter

Conversation

@StarsEnd33A2D17
Copy link
Copy Markdown

@StarsEnd33A2D17 StarsEnd33A2D17 commented Apr 19, 2026

📃 Description

Closes #1937

Add BATTERY_DEVICES environment variable to filter which battery devices to monitor. This allows users to specify which battery device(s) to use on systems with multiple batteries (e.g., laptop + wireless mouse/keyboard).

📖 Documentation

N/A

🪵 Changelog

➕ Added

  • BATTERY_DEVICES environment variable to filter battery devices by name (comma-separated, e.g., BAT0 or BAT0,BAT1)
  • Tests for battery device filtering behavior

📷 Screenshots

N/A

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.

[Feature]: Add option to filter/select specific batteries

1 participant