Hi
on battery when laptop lid closed set to shut down but when close lid laptop wont shut down.
my laptop lenovo v14.
Hi
Does the hardware button work properly?
sudo libinput debug-events
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event12 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event1 DEVICE_ADDED Power Button seat0 default group3 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group4 cap:S
-event9 DEVICE_ADDED Integrated Camera: Integrated C seat0 default group5 cap:k
-event4 DEVICE_ADDED DaKai 2.4G RX seat0 default group6 cap:k
-event5 DEVICE_ADDED DaKai 2.4G RX Mouse seat0 default group6 cap:p left scroll-nat scroll-button
-event6 DEVICE_ADDED DaKai 2.4G RX System Control seat0 default group6 cap:k
-event7 DEVICE_ADDED DaKai 2.4G RX Consumer Control seat0 default group6 cap:kp scroll-nat
-event13 DEVICE_ADDED Synaptics TM3336-004 seat0 default group7 cap:pg size 102x67mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event10 DEVICE_ADDED Ideapad extra buttons seat0 default group8 cap:k
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group9 cap:k
It is there, but as you posted, there is no reaction… Maybe have look at this at this:
(also the whole thread to understand the problem)
So, normally you would see this:
event0 SWITCH_TOGGLE +4294967.294s switch lid state 1
event0 SWITCH_TOGGLE +4.111s switch lid state 0