Evaluate wake devices and help remove them for better hibernation
Diagnoses which devices are waking your system from sleep and helps disable them. Use this when your computer won't stay in hibernation due to unwanted wake events from USB devices, network cards, or other hardware.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillYou are helping the user evaluate and configure wake devices to improve hibernation/sleep behavior.
Check current wake-enabled devices
cat /proc/acpi/wakeupgrep . /sys/bus/usb/devices/*/power/wakeupgrep . /sys/bus/pci/devices/*/power/wakeupIdentify wake sources
journalctl -b -1 -n 50 | grep -i "wakeup\|wake"journalctl -u systemd-suspend -n 50Common wake device categories
Disable unnecessary wake devices
Temporary (until reboot):
echo disabled > /sys/bus/usb/devices/<device>/power/wakeupecho disabled > /proc/acpi/wakeupPermanent (via udev rules):
/etc/udev/rules.d/90-disable-wakeup.rules# Disable USB wakeup for all USB devices except keyboard
ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ATTR{power/wakeup}="disabled"
Via systemd service:
/etc/systemd/system/disable-usb-wakeup.serviceTest configuration
systemctl suspendSuggest optimal configuration
Create persistent configuration
Provide a report showing: