battery_update
battery_update(ctx, udi, fd);
gboolean battery_update(LibHalContext *ctx, const char *udi, int fd);