ac_state
u_char ac_state;
u_char ac_state;
info->ac_state = APM_AC_UNKNOWN;
info->ac_state = ksensor->value ?
info->ac_state = APM_AC_UNKNOWN;
u_char ac_state;
powerp->ac_state = AC_STATE(®s);
u_char ac_state;
info->ac_state = APM_AC_UNKNOWN;
ykbec_apmdata.ac_state = ISSET(power_flag, POWER_FLAG_ADAPTER_IN) ?
if (old.ac_state != ykbec_apmdata.ac_state)
ykbec_apmdata.ac_state ? "restored" : "lost");
stsec_apmdata.ac_state = ISSET(status, STS_AC_AVAILABLE) ? APM_AC_ON :
if (old.ac_state != stsec_apmdata.ac_state)
stsec_apmdata.ac_state ? "restored" : "lost");
u_char ac_state;
power->ac_state = ((batt.flags & PMU_PWR_AC_PRESENT) ?
} else if ((power->ac_state == APM_AC_ON) &&
u_char ac_state;
u_char ac_state;
u_char ac_state;
u_char ac_state;
pi->ac_state = APM_AC_UNKNOWN;
pi->ac_state = APM_AC_ON;
if (pi->ac_state == APM_AC_UNKNOWN)
pi->ac_state = APM_AC_OFF;
.ac_state = APM_AC_UNKNOWN,
cwfg_power.ac_state = APM_AC_UNKNOWN;
info->ac_state = APM_AC_UNKNOWN;
if (info->ac_state != APM_AC_ON)
info->ac_state = APM_AC_ON;
if (info->ac_state != APM_AC_OFF)
info->ac_state = APM_AC_OFF;
info->ac_state = APM_AC_UNKNOWN;
info->ac_state = APM_AC_OFF;
info->ac_state = APM_AC_BACKUP;
info->ac_state = APM_AC_ON;
reply.batterystate.ac_state = APM_AC_UNKNOWN;
reply.batterystate.ac_state);
ac_state(reply.batterystate.ac_state));
extern const char *ac_state(int state);
bstate.ac_state = 255;
if (bstate.ac_state == APM_AC_ON)
bstate.ac_state != last.ac_state ||
ac_state(bstate.ac_state),
ac_state(bstate.ac_state),