Change systemd's lid switch action depending on the laptop's AC state