Welcome!
Component
Agent
Description
When a system has multiple batteries (e.g., laptop battery + wireless mouse/keyboard battery), beszel averages the capacity of all batteries found in /sys/class/power_supply/. This results in inaccurate readings - a laptop with 80% battery and a wireless mouse at 50% would show ~65%.
Currently there's no environment variable or config to filter which batteries to monitor. It would be useful to have something like BESZEL_AGENT_BATTERY to specify which battery device(s) to use (e.g., BAT0).
Motivation / Use Case
Users should be able to specify which battery device(s) to monitor or exclude certain batteries (e.g., peripheral batteries) from monitoring. This ensures accurate battery readings on systems with multiple batteries.
Welcome!
Component
Agent
Description
When a system has multiple batteries (e.g., laptop battery + wireless mouse/keyboard battery), beszel averages the capacity of all batteries found in /sys/class/power_supply/. This results in inaccurate readings - a laptop with 80% battery and a wireless mouse at 50% would show ~65%.
Currently there's no environment variable or config to filter which batteries to monitor. It would be useful to have something like BESZEL_AGENT_BATTERY to specify which battery device(s) to use (e.g., BAT0).
Motivation / Use Case
Users should be able to specify which battery device(s) to monitor or exclude certain batteries (e.g., peripheral batteries) from monitoring. This ensures accurate battery readings on systems with multiple batteries.