Package: cbatticon
Version: 1.6.9-1+b3
Severity: wishlist

When attempting to use the --command-low-level option in cbatticon, the
application throws an error indicating that the option is unrecognized.
This limits the functionality of configuring actions at the "low battery"
threshold, which would complement the existing --command-critical-level
option.

Example:

$ cbatticon --command-low-level="notify-send 'Low Battery' 'Please plug in
your charger.'"
Cannot parse command line arguments: Unknown option
--command-low-level=notify-send 'Low Battery' 'Please plug in your charger.'

Expected Behavior:
According to the upstream source (https://github.com/valr/cbatticon)
The --command-low-level option should allow users to specify a command to
execute when the battery level drops below the threshold set by the
--low-level option.

Steps to Reproduce:

Install cbatticon version 1.6.9-1+b3 from the Debian repositories.
Run the following command:
   cbatticon --command-low-level="notify-send 'Low Battery' 'Please plug in
your charger.'"
Observe the error message:
   Cannot parse command line arguments: Unknown option
--command-low-level=notify-send 'Low Battery' 'Please plug in your charger.'

Workaround:
  None. The --command-critical-level option can be used to execute commands
for the critical battery threshold, but this does not cover actions for the
"low battery" threshold.

Request:
Implement the --command-low-level feature for enhanced functionality. As
available from upstream source.

System Information:

Distributor ID: Debian
Description: Debian GNU/Linux trixie/sid
Codename: trixie
Kernel Version: 6.12.9-amd64
cbatticon Version: 1.6.9-1+b3
APT Source: https://deb.debian.org/debian testing/main amd64 Packages

Reply via email to