After reverting the changes done to %gconf-tree.xml I modified /etc/acpi/powerbtn.sh to touch a file when called. The file was never created, with or without the power adaptor plugged in.
After reverting the changes done to %gconf-tree.xml I modified /etc/acpi/ powerbtn. sh to touch a file when called. The file was never created, with or without the power adaptor plugged in.