On 06/10/12 09:41, Jon Cowell wrote: > After BIOS update all was well for 15hours only!
Also for me, things worked well (both lid and power status) during the first weeks of life of the laptop (a Series 5 Ultrabook). > Yesterday, after updating the BIOS I tested power connect/disconnect > recognition in both Windows and Ubuntu 12.04 and suspend on lid closure. > Everything worked fine. Then, in Ubuntu 12.04, I suspended the system > over night. Next morning, lid closurefails to be recognised by Ubuntu. > Power connect/disconnect fails to be acted upon properly by Ubuntu. In > Windows, lid closure still fails but power connect/disconnect still > recognised - but it takes several seconds rather than being almost > instantaneous when all was well the night before. I found that /sys/class/power_supply/ADP1/online (the status of the power adapter) gets updated correctly, while the battery status (charging/discharging), as found in /sys/class/power_supply/BAT1/status is "frozen" in the status after power on / resume after suspend. So MAYBE in Windows power connect/disconnect is triggered by power adapter changing status instead than by battery. I worked around this problem by applying an ugly patch to upowerd so that power status change is triggered also by power adapter... and that works acceptably for now. Lid closure, instead, is completely broken also if suspend works well. Can't test in Windows as I wiped out the windows partition ;) > Very infuriating!... is this Ubuntu corrupting things in the BIOS or is > the BIOS somehow corrupting itself with respect to ACPI. I noticed the problem after starting up erroneously the recovery partition. This messed up with the MBR and Grub, so I had to recover Grub booting from an USB disk, and from that moment I noticed the problem... (not sure if before that the problem was present or not) -- 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/ubuntu/+source/acpi/+bug/971061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs