Comment 3 for bug 421985

Revision history for this message
Pete Graner (pgraner) wrote :

More more experimentation:

1. Wrote a test script (attached) that grabbed the output of /proc/acpi/battery in a loop then pulled the power plug. Never was actually able to capture the discharge event.

2. I found that:

 * If I boot the machine with AC attached, then pull the power plug the system will suspend.
 * If I boot the machine from battery (no AC attached), then pull the power plug the system will *not* suspend or just work as expected.

I've attached the output of:

grep -r . /proc/acpi/battery

from the case where the system was booted on AC and one where the system was booted on battery.