battstate
battstate(api->battery_state));
extern const char *battstate(int state);
battstate(bstate.battery_state),