http://bugzilla.kernel.org/show_bug.cgi?id=12632
------- Comment #7 from rich...@hughsie.com 2009-02-08 02:04 ------- (In reply to comment #5) > This situation seems to correct itself in about 1 sec, sometimes much less. > As this is about the amount of time it takes me to get my attention > back to the screen after plugging in the power, I'm not alarmed > about a battery status icon being incorrect for 1 sec. Are there > more severe implications of this bug that I'm unaware of? When we emit fully charged from the kernel to userspace it triggers a notification to the user and also stops the battery statistics profiler. > during AC/DC changes shows that the patch works -- > status in the DC->AC transient state becomes "Unknown" > instead of "Full". Correct, this is the desired state as we can't guess from the EC, as the EC doesn't itself know the state. > However, this doesn't seem to solve the problems in the GUI, > which continues to often show full on DC->AC transition, > followed by 'charging' a few seconds later. Right, I just need to hide the icon when the status is unknown. That's a patch I'm running with locally here. I don't think we should show a "confused" battery icon, just hide it until the EC knows the state. > From what I can see, the kernel part of this puzzle > is now working as well as it can, giving what the hardware gives us. Yes, the patch makes the interaction go from state->unknown->!state rather than state->fully-charged->!state which is much better for userspace. Thanks for sorting this, cheers. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla