logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cbatticon — a lightweight and fast battery icon that sits in your system tray

Description

       The cbatticon utility displays battery information (battery status, remaining percentage, remaining time)
       using an icon in the system tray.
       If  no  batteryid  is  specified,  it  will  display the first battery that is found.  You can list the
       available batteries using the option --list-power-supplies.

Examples

       cbatticon

       cbatticon -t

       cbatticon -p

       cbatticon -u 20 -i notification -c "poweroff" -l 15 -r 3

cbatticon                                         June 11, 2019                                     CBATTICON(1)

Name

       cbatticon — a lightweight and fast battery icon that sits in your system tray

Options

-c, --command-critical-levelcommand
            Specify the command to execute when the critical battery level is reached.

       -d, --debug
            Display debug information.

       -h, --help
            Show help information and exit.

       -i, --icon-typetype
            Specify the icon type to display in the system tray.
            If not specified, cbatticon will use the first one that is available  in  this  sequence:  standard,
            notification, symbolic.
            The available icon types on your system can be listed using the option --list-icon-types.

       -l, --low-levelpercentage
            Specify the low level percentage of the battery.
            The default is set to 20%.

       -n, --hide-notification
            Hide the notification popups.

       -p, --list-power-supplies
            List the available power supplies on your system.

       -r, --critical-levelpercentage
            Specify the critical level percentage of the battery.
            The default is set to 5%.

       -t, --list-icon-types
            List the available icon types (standard, notification, symbolic).

       -u, --update-intervalinterval
            Specify the number of seconds between updates of the battery information.
            The default is set to 5 seconds.

       -v, --version
            Display the version information and exit.

       -x, --command-left-clickcommand
            Specify the command to execute when left clicking on the tray icon.

Synopsis

cbatticon [option] [batteryid]

See Also