const char *field_sep = "  \u2022  ";
const char *time_fmt  = "%x %I:%M %p";

const int update_period = 90;

char *
loadavg(void)
{
	double avgs[3];

	if (getloadavg(avgs, 3) < 0) {
		perror("getloadavg");
		exit(1);
	}

	return smprintf("%.2f %.2f %.2f", avgs[0], avgs[1], avgs[2]);
}

char *
prettytime(void)
{
	return mktimes(time_fmt, NULL);
}

static char *(*forder[])(void) = {
	loadavg,
	prettytime,
	NULL
};


const char *field_sep = "  \u2022  ";
const char *time_fmt  = "%x %I:%M %p";

const int update_period = 15;

char *
loadavg(void)
{
	double avgs[3];

	if (getloadavg(avgs, 3) < 0) {
		perror("getloadavg");
		exit(1);
	}

	return smprintf("%.2f %.2f %.2f", avgs[0], avgs[1], avgs[2]);
}

char *
prettytime(void)
{
	return mktimes(time_fmt, NULL);
}

static char *(*forder[])(void) = {
	loadavg,
	prettytime,
	NULL
};


Change update_period to 15 seconds
Change update_period to 15 seconds

On a laptop, 90 seconds between battery status updates can lead to
unnecessary worrying about whether or not the AC adapter is broken.
