fastfetch-sys 2.43.0

A neofetch like system information tool
Documentation
#pragma once

#include "fastfetch.h"

#define FF_BATTERY_TEMP_UNSET (0/0.0)

typedef struct FFBatteryResult
{
    FFstrbuf manufacturer;
    FFstrbuf manufactureDate;
    FFstrbuf modelName;
    FFstrbuf technology;
    FFstrbuf status;
    FFstrbuf serial;
    double capacity;
    double temperature;
    uint32_t cycleCount;
    int32_t timeRemaining;
} FFBatteryResult;

const char* ffDetectBattery(FFBatteryOptions* options, FFlist* results);