ACPI events fail if module not loaded
If the librem-ec-acpi-dkms module is not loaded at some point ACPI events seem to get stuck.
Reproduce:
- attach laptop to AC / charger
- unload the librem-ec-acpi-dkms
-
cat /sys/class/power_supply/AC/online
-> should return '1' - unplug AC / charger
-
cat /sys/class/power_supply/AC/online
-> should return '0' - attach laptop to AC / charger
- suspend (suspend to RAM / S3)
- resume
-
cat /sys/class/power_supply/AC/online
-> should return '1' - unplug AC / charger
-
cat /sys/class/power_supply/AC/online
-> will still return '1', which is not correct