commit 0df2fd2a1cd06eae947520d243113bcadcef6d63
parent b1156fef0bcd3819c6247cc2122bb05968e3ce80
Author: clamiax <smoppy@gmail.com>
Date: Fri, 16 May 2014 09:33:50 +0200
Fix ACPLUGGED setting with kernel 3.13
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acpi b/acpi
@@ -3,7 +3,7 @@
STATE=mem
BATTCRITIC=3
BATTWARNING=8
-ACPLUGGED="$(cat /sys/devices/pci0000:00/firmware_node/ACPI0003:00/power_supply/AC0/online)"
+ACPLUGGED="$(cat /sys/devices/pci0000:00/ACPI0003:00/power_supply/AC0/online)"
LIDSTATE="$(cat /proc/acpi/button/lid/LID/state |awk '{print $2}')"
warning() {