A simple command-line battery information tool written in C for Linux.
- 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'
gcc main.c battery.c battery_info.c charging_info.c health_info.c bat_ls.c utils.c -o batteryfetch
./batteryfetch
