Skip to content
/ batstat Public

A simple bash script to display the battery status from the terminal.

Notifications You must be signed in to change notification settings

ajgae/batstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

batstat

Simple script that displays battery percentage and {dis,}charge rate.

Usage

Command-line options:

  • -n: Do not append a newline to the output (which is the default behavior)
  • -b: Print battery percentage only (incompatible with -w)
  • -w: Print wattage only (incompatible with -b)
  • -f FORMAT: Use the specified output format for colors. FORMAT must be one of 'ansi' or 'xml' (default: 'ansi'). 'xfce-genmon' is intended for use with the Xfce4 panel general monitor plugin (see https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/)

About

A simple bash script to display the battery status from the terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages