Thank you so much jaunmanuel! I can confirm this is working on my NP900X3F.
Also, an easy way to check the command/data codes is: $ dmesg | grep EC: [ 0.119227] ACPI: EC: Look up EC in DSDT [ 0.586520] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62 So no changes are needed to your code for my laptop (0x66, 0x62). Ultimately, it would be best to have this fixed in the kernel; I have posted the news in the kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=44161 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/971061 Title: acpi reports battery state incorrectly To manage notifications about this bug go to: https://bugs.launchpad.net/acpi/+bug/971061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs