Opening device no longer wakes from sleep

This is not a bug. This is working as intended as there is no apparent wake alarm for the RTC clock for the lid switch from what we can find.

We are now using a more efficient sleep mechanism so the lid switch will no longer wake until you press power. We might be able to find something in the future but for now you’ll have to take that extra second to press the power button.

Technical Details

# cat /sys/kernel/debug/wakeup_sources 
name					active_count	event_count	wakeup_count	expire_count	active_since	total_time	max_time	last_change	prevent_suspend_time
axp2202-battery                 	309		310		0		0		0		4191		55		2911852		0
axp2202-usb                     	2		2		0		0		0		11		6		1571393		0
rtc                             	0		0		0		0		0		0		0		1359		0
soc@03000000:wlan               	0		0		0		0		0		0		0		1001		0
alarmtimer                      	0		0		0		0		0		0		0		924		0
5-0034                          	0		0		0		0		0		0		0		560		0
deleted                         	0		0		0		0		0		0		0		0		0
# grep -i axp /proc/interrupts
321:        166          0          0          0  sunxi-8i-nmi   0 Level     axp2202_irq_chip
325:         19          4          0          0  axp2202_irq_chip   3 Edge      gauge_new_soc
329:          0          0          0          0  axp2202_irq_chip   7 Edge      vbus_insert
330:          1          0          0          0  axp2202_irq_chip   8 Edge      vbus_remove
331:          0          0          0          0  axp2202_irq_chip   9 Edge      battery_insert
332:          0          0          0          0  axp2202_irq_chip  10 Edge      battery_remove
335:          0          0          0          0  axp2202_irq_chip  13 Edge      axp20x-pek-dbf
336:          1          0          0          0  axp2202_irq_chip  14 Edge      axp20x-pek-dbr
344:          0          0          0          0  axp2202_irq_chip  22 Edge      battery_over_voltage
349:          0          0          0          0  axp2202_irq_chip  27 Edge      battery_over_temp_chg
350:          0          0          0          0  axp2202_irq_chip  28 Edge      battery_under_temp_chg
351:          0          0          0          0  axp2202_irq_chip  29 Edge      battery_over_temp_work
352:          0          0          0          0  axp2202_irq_chip  30 Edge      battery_under_temp_work
353:          0          0          0          0  axp2202_irq_chip  31 Edge      type-c_remove
354:          0          0          0          0  axp2202_irq_chip  32 Edge      type-c_insert

There are zero lid switch wake sources as of 27 March 2026.

7 Likes