BAT_STAT_AC
if (!(ec_byte & BAT_STAT_AC)) /* No AC means discharging */
val->intval = !!(status & BAT_STAT_AC);