Hey guys , my wife has a M1 Air .. we want to hook up a dell ultrasharp 27 monitor .. will the air know that a monitor is plugged in and when we close it it will stay on ? Also if she leaves it plugged in on her desk most of the time will this hurt the battery ? Thank you in advance