BAT_STAT_AC 77 drivers/power/supply/olpc_battery.c val->intval = !!(status & BAT_STAT_AC); BAT_STAT_AC 112 drivers/power/supply/olpc_battery.c if (!(ec_byte & BAT_STAT_AC)) /* No AC means discharging */