Rename lid_switch to switch_device to disambiguate lid and tablet mode switches.
Factor out switch handling to separate file Add formal enum for toggle action Implement binding actions