Comment 17 for bug 60442

Revision history for this message
Roland Dreier (roland.dreier) wrote : Re: Dual / Two Batteries, shutdown on empty expansion battery. (GPM does not recognises second battery on hotplug)

OK, as expected my laptop shut down when the second battery ran down and the first battery was still full. I'm attaching the gpm.log as requested.

The output from the new debugging statements in the patch is:

[battery_status_changed_primary] gpm-manager.c:2058 (21:58:06): Laptop battery: critical level:
[battery_status_changed_primary] gpm-manager.c:2059 (21:58:06): charging=0 discharging=1:
[battery_status_changed_primary] gpm-manager.c:2060 (21:58:06): pct_charge=72 remaining=2: