After you remove the advanced power utility and it's /etc/event.d script, you must reboot the device. Until the X server is restarted, the changes won't take effect. The easiest way to cleanly restart X is to reboot.