add obtaining line status as part of check (online, on battery)