STATUS_BAT_PRESENT
smbb_set_line_flag(chg, irq, STATUS_BAT_PRESENT);
val->intval = !!(status & STATUS_BAT_PRESENT);