Following the link:

      https://bugzilla.kernel.org/show_bug.cgi?id=44161

I read that someone noted that AC was reported correctly after suspend,
even though the EC events were consumed by the little program on resume.

I'll reply here to that since I don't have an account there:

The reason is because the DSDT method called _WAK  (short for "AWAKE"),
is called when resuming from sleep. If you look at the code in the DSDT,
you'll see that this method checks to see if AC, LID, and Battery have
changed since suspend, and issues the corresponding Notify() calls, thus
producing the relevant events, when waking up, independently of the EC.

--
Juan Manuel

-- 
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

Reply via email to