Skip to content

Repository files navigation

Batteryfetch

A simple command-line battery information tool written in C for Linux.

Features

  • Shows battery percentage, charging status, battery capacity and other related information
  • Shows a coloured output interface
  • Display a simple ASCII battery indicator based on charge level
  • Read information from '/sys/class/power_supply'

Build

gcc main.c battery.c battery_info.c charging_info.c health_info.c bat_ls.c utils.c -o batteryfetch

Usage

./batteryfetch

Screenshot

Batteryfetch v1.0.2

About

A simple command-line battery monitor written in C for Linux

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages