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:
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: status_ changed_ primary] gpm-manager.c:2059 (21:58:06): charging=0 discharging=1: status_ changed_ primary] gpm-manager.c:2060 (21:58:06): pct_charge=72 remaining=2:
[battery_
[battery_