#ifndef TSTATUS_BATTERY_H #ifdef FISH #define BATTERY_DIR "sbs-20-000b" #elif TOASTER #define BATTERY_DIR "BAT0" #else /* just assume we're running on fish */ #define BATTERY_DIR "sbs-20-000b" #endif #define BATTERY_PRE "/sys/class/power_supply/" #define BATTERY_CAP "/capacity" int battery_module(struct module *module); #endif #define TSTATUS_BATTERY_H