power:add lidswitch callback function
power:deal with lid close event whether on battery or not
power:deal with external monitors